main.yml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. ---
  2. openshift_logging_image_prefix: "{{ openshift_hosted_logging_deployer_prefix | default('docker.io/openshift/origin-') }}"
  3. openshift_logging_image_version: "{{ openshift_hosted_logging_deployer_version | default('latest') }}"
  4. openshift_logging_use_ops: "{{ openshift_hosted_logging_enable_ops_cluster | default('false') | bool }}"
  5. openshift_logging_master_url: "https://kubernetes.default.svc.{{ openshift.common.dns_domain }}"
  6. openshift_logging_master_public_url: "{{ openshift_hosted_logging_master_public_url | default('https://' + openshift.common.public_hostname + ':' ~ (openshift_master_api_port | default('8443', true))) }}"
  7. openshift_logging_namespace: logging
  8. openshift_logging_install_logging: True
  9. openshift_logging_image_pull_secret: "{{ openshift_hosted_logging_image_pull_secret | default('') }}"
  10. openshift_logging_curator_default_days: 30
  11. openshift_logging_curator_run_hour: 0
  12. openshift_logging_curator_run_minute: 0
  13. openshift_logging_curator_run_timezone: UTC
  14. openshift_logging_curator_script_log_level: INFO
  15. openshift_logging_curator_log_level: ERROR
  16. openshift_logging_curator_cpu_limit: 100m
  17. openshift_logging_curator_memory_limit: null
  18. openshift_logging_curator_nodeselector: "{{ openshift_hosted_logging_curator_nodeselector | default('') | map_from_pairs }}"
  19. openshift_logging_curator_ops_cpu_limit: 100m
  20. openshift_logging_curator_ops_memory_limit: null
  21. openshift_logging_curator_ops_nodeselector: "{{ openshift_hosted_logging_curator_ops_nodeselector | default('') | map_from_pairs }}"
  22. openshift_logging_kibana_hostname: "{{ openshift_hosted_logging_hostname | default('kibana.' ~ (openshift_master_default_subdomain | default('router.default.svc.cluster.local', true))) }}"
  23. openshift_logging_kibana_cpu_limit: null
  24. openshift_logging_kibana_memory_limit: null
  25. openshift_logging_kibana_proxy_debug: false
  26. openshift_logging_kibana_proxy_cpu_limit: null
  27. openshift_logging_kibana_proxy_memory_limit: null
  28. openshift_logging_kibana_replica_count: 1
  29. openshift_logging_kibana_edge_term_policy: Redirect
  30. openshift_logging_kibana_nodeselector: "{{ openshift_hosted_logging_kibana_nodeselector | default('') | map_from_pairs }}"
  31. openshift_logging_kibana_ops_nodeselector: "{{ openshift_hosted_logging_kibana_ops_nodeselector | default('') | map_from_pairs }}"
  32. #The absolute path on the control node to the cert file to use
  33. #for the public facing kibana certs
  34. openshift_logging_kibana_cert: ""
  35. #The absolute path on the control node to the key file to use
  36. #for the public facing kibana certs
  37. openshift_logging_kibana_key: ""
  38. #The absolute path on the control node to the CA file to use
  39. #for the public facing kibana certs
  40. openshift_logging_kibana_ca: ""
  41. openshift_logging_kibana_ops_hostname: "{{ openshift_hosted_logging_ops_hostname | default('kibana-ops.' ~ (openshift_master_default_subdomain | default('router.default.svc.cluster.local', true))) }}"
  42. openshift_logging_kibana_ops_cpu_limit: null
  43. openshift_logging_kibana_ops_memory_limit: null
  44. openshift_logging_kibana_ops_proxy_debug: false
  45. openshift_logging_kibana_ops_proxy_cpu_limit: null
  46. openshift_logging_kibana_ops_proxy_memory_limit: null
  47. openshift_logging_kibana_ops_replica_count: 1
  48. openshift_logging_fluentd_nodeselector: "{{ openshift_hosted_logging_fluentd_nodeselector_label | default('logging-infra-fluentd=true') | map_from_pairs }}"
  49. openshift_logging_fluentd_cpu_limit: 100m
  50. openshift_logging_fluentd_memory_limit: 512Mi
  51. openshift_logging_fluentd_es_copy: false
  52. openshift_logging_fluentd_use_journal: "{{ openshift_hosted_logging_use_journal | default('') }}"
  53. openshift_logging_fluentd_journal_source: "{{ openshift_hosted_logging_journal_source | default('') }}"
  54. openshift_logging_fluentd_journal_read_from_head: "{{ openshift_hosted_logging_journal_read_from_head | default('') }}"
  55. openshift_logging_fluentd_hosts: ['--all']
  56. openshift_logging_es_host: logging-es
  57. openshift_logging_es_port: 9200
  58. openshift_logging_es_ca: /etc/fluent/keys/ca
  59. openshift_logging_es_client_cert: /etc/fluent/keys/cert
  60. openshift_logging_es_client_key: /etc/fluent/keys/key
  61. openshift_logging_es_cluster_size: "{{ openshift_hosted_logging_elasticsearch_cluster_size | default(1) }}"
  62. openshift_logging_es_cpu_limit: null
  63. openshift_logging_es_memory_limit: "{{ openshift_hosted_logging_elasticsearch_instance_ram | default('8Gi') }}"
  64. openshift_logging_es_pv_selector: null
  65. openshift_logging_es_pvc_dynamic: "{{ openshift_hosted_logging_elasticsearch_pvc_dynamic | default(False) }}"
  66. openshift_logging_es_pvc_size: "{{ openshift_hosted_logging_elasticsearch_pvc_size | default('') }}"
  67. openshift_logging_es_pvc_prefix: "{{ openshift_hosted_logging_elasticsearch_pvc_prefix | default('logging-es') }}"
  68. openshift_logging_es_recover_after_time: 5m
  69. openshift_logging_es_storage_group: "{{ openshift_hosted_logging_elasticsearch_storage_group | default('65534') }}"
  70. openshift_logging_es_nodeselector: "{{ openshift_hosted_logging_elasticsearch_nodeselector | default('') | map_from_pairs }}"
  71. # allow cluster-admin or cluster-reader to view operations index
  72. openshift_logging_es_ops_allow_cluster_reader: False
  73. openshift_logging_es_ops_host: logging-es-ops
  74. openshift_logging_es_ops_port: 9200
  75. openshift_logging_es_ops_ca: /etc/fluent/keys/ca
  76. openshift_logging_es_ops_client_cert: /etc/fluent/keys/cert
  77. openshift_logging_es_ops_client_key: /etc/fluent/keys/key
  78. openshift_logging_es_ops_cluster_size: "{{ openshift_hosted_logging_elasticsearch_ops_cluster_size | default(1) }}"
  79. openshift_logging_es_ops_cpu_limit: null
  80. openshift_logging_es_ops_memory_limit: "{{ openshift_hosted_logging_elasticsearch_ops_instance_ram | default('8Gi') }}"
  81. openshift_logging_es_ops_pv_selector: None
  82. openshift_logging_es_ops_pvc_dynamic: "{{ openshift_hosted_logging_elasticsearch_ops_pvc_dynamic | default(False) }}"
  83. openshift_logging_es_ops_pvc_size: "{{ openshift_hosted_logging_elasticsearch_ops_pvc_size | default('') }}"
  84. openshift_logging_es_ops_pvc_prefix: "{{ openshift_hosted_logging_elasticsearch_ops_pvc_prefix | default('logging-es-ops') }}"
  85. openshift_logging_es_ops_recover_after_time: 5m
  86. openshift_logging_es_ops_storage_group: "{{ openshift_hosted_logging_elasticsearch_storage_group | default('65534') }}"
  87. openshift_logging_es_ops_nodeselector: "{{ openshift_hosted_logging_elasticsearch_ops_nodeselector | default('') | map_from_pairs }}"
  88. # storage related defaults
  89. openshift_logging_storage_access_modes: "{{ openshift_hosted_logging_storage_access_modes | default(['ReadWriteOnce']) }}"
  90. # 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
  91. #es_logging_contents:
  92. #es_config_contents:
  93. #curator_config_contents:
  94. #fluentd_config_contents:
  95. #fluentd_throttle_contents:
  96. #fluentd_secureforward_contents: