main.yml 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. ---
  2. openshift_logging_use_ops: False
  3. openshift_logging_master_url: "https://kubernetes.default.svc.{{ openshift.common.dns_domain }}"
  4. openshift_logging_master_public_url: "{{ 'https://' + openshift_master_cluster_public_hostname | default(openshift.common.public_hostname, true) + ':' ~ openshift_master_api_port }}"
  5. openshift_logging_nodeselector: null
  6. openshift_logging_labels: {}
  7. openshift_logging_label_key: ""
  8. openshift_logging_label_value: ""
  9. openshift_logging_install_logging: False
  10. openshift_logging_purge_logging: False
  11. openshift_logging_image_pull_secret: ""
  12. openshift_logging_image: "{{ l_os_registry_url | regex_replace(l_openshift_logging_search | regex_escape, 'logging-deployer') }}"
  13. openshift_logging_curator_default_days: 30
  14. openshift_logging_curator_run_hour: 3
  15. openshift_logging_curator_run_minute: 30
  16. openshift_logging_curator_run_timezone: UTC
  17. openshift_logging_curator_timeout: 300
  18. openshift_logging_curator_script_log_level: INFO
  19. openshift_logging_curator_log_level: ERROR
  20. openshift_logging_curator_cpu_limit: null
  21. openshift_logging_curator_memory_limit: 256Mi
  22. openshift_logging_curator_cpu_request: 100m
  23. openshift_logging_curator_nodeselector: {}
  24. openshift_logging_curator_ops_default_days: 30
  25. openshift_logging_curator_ops_run_hour: 3
  26. openshift_logging_curator_ops_run_minute: 30
  27. openshift_logging_curator_ops_run_timezone: UTC
  28. openshift_logging_curator_ops_cpu_limit: null
  29. openshift_logging_curator_ops_memory_limit: 256Mi
  30. openshift_logging_curator_ops_cpu_request: 100m
  31. openshift_logging_curator_ops_nodeselector: {}
  32. openshift_logging_kibana_hostname: "{{ 'kibana.' ~ openshift_master_default_subdomain }}"
  33. openshift_logging_kibana_cpu_limit: null
  34. openshift_logging_kibana_memory_limit: 736Mi
  35. openshift_logging_kibana_cpu_request: 100m
  36. openshift_logging_kibana_proxy_debug: false
  37. openshift_logging_kibana_proxy_cpu_limit: null
  38. openshift_logging_kibana_proxy_memory_limit: 256Mi
  39. openshift_logging_kibana_proxy_cpu_request: 100m
  40. openshift_logging_kibana_replica_count: 1
  41. openshift_logging_kibana_edge_term_policy: Redirect
  42. openshift_logging_kibana_nodeselector: {}
  43. openshift_logging_kibana_ops_nodeselector: {}
  44. #The absolute path on the control node to the cert file to use
  45. #for the public facing kibana certs
  46. openshift_logging_kibana_cert: ""
  47. #The absolute path on the control node to the key file to use
  48. #for the public facing kibana certs
  49. openshift_logging_kibana_key: ""
  50. #The absolute path on the control node to the CA file to use
  51. #for the public facing kibana certs
  52. openshift_logging_kibana_ca: ""
  53. openshift_logging_kibana_ops_hostname: "{{ 'kibana-ops.' ~ openshift_master_default_subdomain }}"
  54. openshift_logging_kibana_ops_cpu_limit: null
  55. openshift_logging_kibana_ops_memory_limit: 736Mi
  56. openshift_logging_kibana_ops_cpu_request: 100m
  57. openshift_logging_kibana_ops_proxy_debug: false
  58. openshift_logging_kibana_ops_proxy_cpu_limit: null
  59. openshift_logging_kibana_ops_proxy_memory_limit: 256Mi
  60. openshift_logging_kibana_ops_proxy_cpu_request: 100m
  61. openshift_logging_kibana_ops_replica_count: 1
  62. #The absolute path on the control node to the cert file to use
  63. #for the public facing ops kibana certs
  64. openshift_logging_kibana_ops_cert: ""
  65. #The absolute path on the control node to the key file to use
  66. #for the public facing ops kibana certs
  67. openshift_logging_kibana_ops_key: ""
  68. #The absolute path on the control node to the CA file to use
  69. #for the public facing ops kibana certs
  70. openshift_logging_kibana_ops_ca: ""
  71. openshift_logging_fluentd_nodeselector: {'logging-infra-fluentd': 'true'}
  72. openshift_logging_fluentd_cpu_limit: null
  73. openshift_logging_fluentd_memory_limit: 512Mi
  74. openshift_logging_fluentd_cpu_request: 100m
  75. openshift_logging_fluentd_journal_source: ""
  76. openshift_logging_fluentd_journal_read_from_head: ""
  77. openshift_logging_fluentd_hosts: ['--all']
  78. openshift_logging_fluentd_buffer_queue_limit: 32
  79. openshift_logging_fluentd_buffer_size_limit: 8m
  80. openshift_logging_es_host: logging-es
  81. openshift_logging_es_port: 9200
  82. openshift_logging_es_ca: /etc/fluent/keys/ca
  83. openshift_logging_es_client_cert: /etc/fluent/keys/cert
  84. openshift_logging_es_client_key: /etc/fluent/keys/key
  85. openshift_logging_es_cluster_size: 1
  86. openshift_logging_es_cpu_limit: null
  87. openshift_logging_es_cpu_request: "1"
  88. # the logging appenders for the root loggers to write ES logs. Valid values: 'file', 'console'
  89. openshift_logging_es_log_appenders: ['file']
  90. openshift_logging_es_memory_limit: "8Gi"
  91. openshift_logging_es_pv_selector: "{{ openshift_logging_storage_labels | default('') }}"
  92. openshift_logging_es_pvc_dynamic: "{{ openshift_logging_elasticsearch_pvc_dynamic | default(False) }}"
  93. openshift_logging_es_pvc_size: ''
  94. openshift_logging_es_pvc_prefix: "{{ openshift_logging_elasticsearch_pvc_prefix | default('logging-es') }}"
  95. openshift_logging_es_recover_after_time: 5m
  96. openshift_logging_es_storage_group: "65534"
  97. openshift_logging_es_nodeselector: {}
  98. # openshift_logging_es_config is a hash to be merged into the defaults for the elasticsearch.yaml
  99. openshift_logging_es_config: {}
  100. # for exposing es to external (outside of the cluster) clients
  101. openshift_logging_es_allow_external: False
  102. openshift_logging_es_hostname: "{{ 'es.' ~ openshift_master_default_subdomain }}"
  103. #The absolute path on the control node to the cert file to use
  104. #for the public facing es certs
  105. openshift_logging_es_cert: ""
  106. #The absolute path on the control node to the key file to use
  107. #for the public facing es certs
  108. openshift_logging_es_key: ""
  109. #The absolute path on the control node to the CA file to use
  110. #for the public facing es certs
  111. openshift_logging_es_ca_ext: ""
  112. # allow cluster-admin or cluster-reader to view operations index
  113. openshift_logging_es_ops_allow_cluster_reader: False
  114. openshift_logging_es_ops_host: logging-es-ops
  115. openshift_logging_es_ops_port: 9200
  116. openshift_logging_es_ops_ca: /etc/fluent/keys/ca
  117. openshift_logging_es_ops_client_cert: /etc/fluent/keys/cert
  118. openshift_logging_es_ops_client_key: /etc/fluent/keys/key
  119. openshift_logging_es_ops_cluster_size: "{{ openshift_logging_elasticsearch_ops_cluster_size | default(1) }}"
  120. openshift_logging_es_ops_cpu_limit: null
  121. openshift_logging_es_ops_memory_limit: 8Gi
  122. openshift_logging_es_ops_cpu_request: "1"
  123. openshift_logging_es_ops_pv_selector: "{{ openshift_loggingops_storage_labels | default('') }}"
  124. openshift_logging_es_ops_pvc_dynamic: "{{ openshift_logging_elasticsearch_ops_pvc_dynamic | default(False) }}"
  125. openshift_logging_es_ops_pvc_size: "{{ openshift_logging_elasticsearch_ops_pvc_size | default('') }}"
  126. openshift_logging_es_ops_pvc_prefix: "{{ openshift_logging_elasticsearch_ops_pvc_prefix | default('logging-es-ops') }}"
  127. openshift_logging_es_ops_recover_after_time: 5m
  128. openshift_logging_es_ops_storage_group: "65534"
  129. openshift_logging_es_ops_nodeselector: {}
  130. # for exposing es-ops to external (outside of the cluster) clients
  131. openshift_logging_es_ops_allow_external: False
  132. openshift_logging_es_ops_hostname: "{{ 'es-ops.' ~ openshift_master_default_subdomain }}"
  133. #The absolute path on the control node to the cert file to use
  134. #for the public facing es-ops certs
  135. openshift_logging_es_ops_cert: ""
  136. #The absolute path on the control node to the key file to use
  137. #for the public facing es-ops certs
  138. openshift_logging_es_ops_key: ""
  139. #The absolute path on the control node to the CA file to use
  140. #for the public facing es-ops certs
  141. openshift_logging_es_ops_ca_ext: ""
  142. # storage related defaults
  143. openshift_logging_storage_access_modes: ['ReadWriteOnce']
  144. # mux - secure_forward listener service
  145. openshift_logging_mux_allow_external: False
  146. openshift_logging_use_mux: "{{ openshift_logging_mux_allow_external | default(False) }}"
  147. openshift_logging_mux_hostname: "{{ 'mux.' ~ openshift_master_default_subdomain}}"
  148. openshift_logging_mux_port: 24284
  149. openshift_logging_mux_cpu_limit: null
  150. openshift_logging_mux_memory_limit: 512Mi
  151. openshift_logging_mux_cpu_request: 100m
  152. # the namespace to use for undefined projects - users will typically not need to set this
  153. # extra namespaces to create for mux clients - users will need to set this
  154. openshift_logging_mux_namespaces: []
  155. # 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
  156. #es_logging_contents:
  157. #es_config_contents:
  158. #curator_config_contents:
  159. #fluentd_config_contents:
  160. #fluentd_throttle_contents:
  161. #fluentd_secureforward_contents:
  162. #fluentd_mux_config_contents:
  163. #fluentd_mux_secureforward_contents: