main.yml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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: 2Gi
  13. openshift_logging_mux_buffer_queue_limit: 1024
  14. openshift_logging_mux_buffer_size_limit: 1m
  15. openshift_logging_mux_replicas: 1
  16. # Destination for the application based logs
  17. openshift_logging_mux_app_host: "logging-es"
  18. openshift_logging_mux_app_port: 9200
  19. # Destination for the operations based logs
  20. openshift_logging_mux_ops_host: "{{ openshift_logging_mux_app_host }}"
  21. openshift_logging_mux_ops_port: "{{ openshift_logging_mux_app_port }}"
  22. ### Used by "hosted" and "secure-aggregator" deployments
  23. openshift_logging_mux_use_journal: "{{ openshift_hosted_logging_use_journal | default('') }}"
  24. openshift_logging_mux_journal_source: "{{ openshift_hosted_logging_journal_source | default('') }}"
  25. openshift_logging_mux_journal_read_from_head: "{{ openshift_hosted_logging_journal_read_from_head | default('') }}"
  26. openshift_logging_mux_allow_external: False
  27. openshift_logging_mux_hostname: "{{ 'mux.' ~ (openshift_master_default_subdomain | default('router.default.svc.cluster.local', true)) }}"
  28. openshift_logging_mux_port: 24284
  29. # the namespace to use for undefined projects should come first, followed by any
  30. # additional namespaces to create by default - users will typically not need to set this
  31. openshift_logging_mux_default_namespaces: ["mux-undefined"]
  32. # extra namespaces to create for mux clients - users will need to set this
  33. openshift_logging_mux_namespaces: []
  34. openshift_logging_mux_app_client_cert: /etc/fluent/keys/cert
  35. openshift_logging_mux_app_client_key: /etc/fluent/keys/key
  36. openshift_logging_mux_app_ca: /etc/fluent/keys/ca
  37. openshift_logging_mux_ops_client_cert: /etc/fluent/keys/cert
  38. openshift_logging_mux_ops_client_key: /etc/fluent/keys/key
  39. openshift_logging_mux_ops_ca: /etc/fluent/keys/ca
  40. # 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
  41. #mux_config_contents:
  42. #mux_throttle_contents:
  43. #mux_secureforward_contents: