main.yml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. ---
  2. ### Common settings
  3. openshift_logging_elasticsearch_image_prefix: "{{ openshift_logging_image_prefix | default(__openshift_logging_image_prefix) }}"
  4. openshift_logging_elasticsearch_image_version: "{{ openshift_logging_image_version | default('latest') }}"
  5. openshift_logging_elasticsearch_image_pull_secret: "{{ openshift_hosted_logging_image_pull_secret | default('') }}"
  6. openshift_logging_elasticsearch_namespace: logging
  7. openshift_logging_elasticsearch_nodeselector: "{{ openshift_logging_es_nodeselector | default('') }}"
  8. openshift_logging_elasticsearch_cpu_limit: 1000m
  9. openshift_logging_elasticsearch_memory_limit: "{{ openshift_logging_es_memory_limit | default('1Gi') }}"
  10. openshift_logging_elasticsearch_recover_after_time: "{{ openshift_logging_es_recover_after_time | default('5m') }}"
  11. openshift_logging_elasticsearch_replica_count: 1
  12. # ES deployment type
  13. openshift_logging_elasticsearch_deployment_type: "data-master"
  14. # ES deployment name
  15. openshift_logging_elasticsearch_deployment_name: ""
  16. # One of ['emptydir', 'pvc', 'hostmount']
  17. openshift_logging_elasticsearch_storage_type: "emptydir"
  18. # hostmount options
  19. openshift_logging_elasticsearch_hostmount_path: ""
  20. # pvc options
  21. # the name of the PVC we will bind to -- create it if it does not exist
  22. openshift_logging_elasticsearch_pvc_name: ""
  23. # required if the PVC does not already exist
  24. openshift_logging_elasticsearch_pvc_size: ""
  25. openshift_logging_elasticsearch_pvc_dynamic: false
  26. openshift_logging_elasticsearch_pvc_pv_selector: {}
  27. openshift_logging_elasticsearch_pvc_access_modes: ['ReadWriteOnce']
  28. openshift_logging_elasticsearch_storage_group: '65534'
  29. openshift_logging_es_pvc_prefix: "{{ openshift_hosted_logging_elasticsearch_pvc_prefix | default('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. # this is used to determine if this is an operations deployment or a non-ops deployment
  33. # simply used for naming purposes
  34. openshift_logging_elasticsearch_ops_deployment: false
  35. openshift_logging_elasticsearch_ops_allow_cluster_reader: false
  36. # 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
  37. #es_logging_contents:
  38. #es_config_contents:
  39. openshift_logging_master_url: "https://kubernetes.default.svc.{{ openshift.common.dns_domain }}"
  40. openshift_logging_master_public_url: "{{ openshift_hosted_logging_master_public_url | default('https://' + openshift.common.public_hostname + ':' ~ (openshift_master_api_port | default('8443', true))) }}"
  41. openshift_logging_es_host: logging-es
  42. openshift_logging_es_port: 9200
  43. openshift_logging_es_ca: /etc/fluent/keys/ca
  44. openshift_logging_es_client_cert: /etc/fluent/keys/cert
  45. openshift_logging_es_client_key: /etc/fluent/keys/key