main.yml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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_journal_source: "{{ openshift_hosted_logging_journal_source | default('') }}"
  24. openshift_logging_mux_journal_read_from_head: "{{ openshift_hosted_logging_journal_read_from_head | default('') }}"
  25. openshift_logging_mux_allow_external: False
  26. openshift_logging_mux_hostname: "{{ 'mux.' ~ (openshift_master_default_subdomain | default('router.default.svc.cluster.local', true)) }}"
  27. openshift_logging_mux_port: 24284
  28. # the namespace to use for undefined projects should come first, followed by any
  29. # additional namespaces to create by default - users will typically not need to set this
  30. openshift_logging_mux_default_namespaces: ["mux-undefined"]
  31. # extra namespaces to create for mux clients - users will need to set this
  32. openshift_logging_mux_namespaces: []
  33. openshift_logging_mux_app_client_cert: /etc/fluent/keys/cert
  34. openshift_logging_mux_app_client_key: /etc/fluent/keys/key
  35. openshift_logging_mux_app_ca: /etc/fluent/keys/ca
  36. openshift_logging_mux_ops_client_cert: /etc/fluent/keys/cert
  37. openshift_logging_mux_ops_client_key: /etc/fluent/keys/key
  38. openshift_logging_mux_ops_ca: /etc/fluent/keys/ca
  39. # 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
  40. #mux_config_contents:
  41. #mux_throttle_contents:
  42. #mux_secureforward_contents: