main.yml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. ---
  2. ### Common settings
  3. openshift_logging_elasticsearch_image_pull_secret: "{{ openshift_logging_image_pull_secret }}"
  4. openshift_logging_elasticsearch_namespace: openshift-logging
  5. openshift_logging_elasticsearch_nodeselector: "{{ openshift_logging_es_nodeselector | default('') }}"
  6. openshift_logging_elasticsearch_cpu_limit: null
  7. openshift_logging_elasticsearch_cpu_request: "{{ openshift_logging_es_cpu_request | default('1000m') }}"
  8. openshift_logging_elasticsearch_memory_limit: "{{ openshift_logging_es_memory_limit | default('16Gi') }}"
  9. openshift_logging_elasticsearch_recover_after_time: "{{ openshift_logging_es_recover_after_time | default('5m') }}"
  10. openshift_logging_elasticsearch_replica_count: 1
  11. # ES deployment type
  12. openshift_logging_elasticsearch_deployment_type: "data-master"
  13. # ES deployment name
  14. openshift_logging_elasticsearch_deployment_name: ""
  15. # One of ['emptydir', 'pvc', 'hostmount']
  16. openshift_logging_elasticsearch_storage_type: "emptydir"
  17. # hostmount options
  18. openshift_logging_elasticsearch_hostmount_path: ""
  19. # pvc options
  20. # the name of the PVC we will bind to -- create it if it does not exist
  21. openshift_logging_elasticsearch_pvc_name: ""
  22. # required if the PVC does not already exist
  23. openshift_logging_elasticsearch_pvc_size: ""
  24. openshift_logging_elasticsearch_pvc_dynamic: false
  25. openshift_logging_elasticsearch_pvc_pv_selector: {}
  26. openshift_logging_elasticsearch_pvc_storage_class_name: ""
  27. openshift_logging_elasticsearch_pvc_access_modes: ['ReadWriteOnce']
  28. openshift_logging_elasticsearch_storage_group: ['65534']
  29. openshift_logging_es_pvc_prefix: "logging-es"
  30. # config the es plugin to write kibana index based on the index mode
  31. openshift_logging_elasticsearch_kibana_index_mode: 'unique'
  32. openshift_logging_elasticsearch_proxy_cpu_request: "100m"
  33. openshift_logging_elasticsearch_proxy_memory_limit: "64Mi"
  34. openshift_logging_elasticsearch_prometheus_sa: "system:serviceaccount:{{openshift_prometheus_namespace | default('openshift-metrics')}}:prometheus"
  35. # this is used to determine if this is an operations deployment or a non-ops deployment
  36. # simply used for naming purposes
  37. openshift_logging_elasticsearch_ops_deployment: false
  38. openshift_logging_elasticsearch_ops_allow_cluster_reader: false
  39. # openshift_logging_es_config is a hash to be merged into the defaults for the elasticsearch.yaml
  40. openshift_logging_es_config: {}
  41. openshift_logging_master_url: "https://kubernetes.default.svc.{{ openshift.common.dns_domain }}"
  42. openshift_logging_master_public_url: "{{ 'https://' + openshift.common.public_hostname + ':' ~ openshift_master_api_port }}"
  43. openshift_logging_es_host: logging-es
  44. openshift_logging_es_port: 9200
  45. openshift_logging_es_ca: /etc/fluent/keys/ca
  46. openshift_logging_es_client_cert: /etc/fluent/keys/cert
  47. openshift_logging_es_client_key: /etc/fluent/keys/key