main.yml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. ---
  2. ### General logging settings
  3. openshift_logging_mux_image_prefix: "{{ openshift_hosted_logging_deployer_prefix | default('docker.io/openshift/origin-') }}"
  4. openshift_logging_mux_image_version: "{{ openshift_hosted_logging_deployer_version | default('latest') }}"
  5. openshift_logging_mux_image_pull_secret: "{{ openshift_hosted_logging_image_pull_secret | default('') }}"
  6. openshift_logging_mux_master_url: "https://kubernetes.default.svc.{{ openshift.common.dns_domain }}"
  7. openshift_logging_mux_master_public_url: "{{ openshift_hosted_logging_master_public_url | default('https://' + openshift.common.public_hostname + ':' ~ (openshift_master_api_port | default('8443', true))) }}"
  8. openshift_logging_mux_namespace: logging
  9. ### Common settings
  10. openshift_logging_mux_nodeselector: "{{ openshift_hosted_logging_mux_nodeselector_label | default('') | map_from_pairs }}"
  11. openshift_logging_mux_cpu_limit: 500m
  12. openshift_logging_mux_memory_limit: 1Gi
  13. openshift_logging_mux_replicas: 1
  14. # Destination for the application based logs
  15. openshift_logging_mux_app_host: "logging-es"
  16. openshift_logging_mux_app_port: 9200
  17. # Destination for the operations based logs
  18. openshift_logging_mux_ops_host: "{{ openshift_logging_mux_app_host }}"
  19. openshift_logging_mux_ops_port: "{{ openshift_logging_mux_app_port }}"
  20. ### Used by "hosted" and "secure-aggregator" deployments
  21. openshift_logging_mux_use_journal: "{{ openshift_hosted_logging_use_journal | default('') }}"
  22. openshift_logging_mux_journal_source: "{{ openshift_hosted_logging_journal_source | default('') }}"
  23. openshift_logging_mux_journal_read_from_head: "{{ openshift_hosted_logging_journal_read_from_head | default('') }}"
  24. openshift_logging_mux_allow_external: False
  25. openshift_logging_mux_hostname: "{{ 'mux.' ~ (openshift_master_default_subdomain | default('router.default.svc.cluster.local', true)) }}"
  26. openshift_logging_mux_port: 24284
  27. # the namespace to use for undefined projects should come first, followed by any
  28. # additional namespaces to create by default - users will typically not need to set this
  29. openshift_logging_mux_default_namespaces: ["mux-undefined"]
  30. # extra namespaces to create for mux clients - users will need to set this
  31. openshift_logging_mux_namespaces: []
  32. openshift_logging_mux_app_client_cert: /etc/fluent/keys/cert
  33. openshift_logging_mux_app_client_key: /etc/fluent/keys/key
  34. openshift_logging_mux_app_ca: /etc/fluent/keys/ca
  35. openshift_logging_mux_ops_client_cert: /etc/fluent/keys/cert
  36. openshift_logging_mux_ops_client_key: /etc/fluent/keys/key
  37. openshift_logging_mux_ops_ca: /etc/fluent/keys/ca
  38. # following can be uncommented to provide values for configmaps -- take care when providing file contents as it may cause your cluster to not operate correctly
  39. #mux_config_contents:
  40. #mux_throttle_contents:
  41. #mux_secureforward_contents: