main.yaml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. ---
  2. # defaults file for openshift_prometheus
  3. openshift_prometheus_state: present
  4. openshift_prometheus_namespace: openshift-metrics
  5. # defaults hosts for routes
  6. openshift_prometheus_hostname: prometheus-{{openshift_prometheus_namespace}}.{{openshift_master_default_subdomain}}
  7. openshift_prometheus_alerts_hostname: alerts-{{openshift_prometheus_namespace}}.{{openshift_master_default_subdomain}}
  8. openshift_prometheus_node_selector: {"region":"infra"}
  9. # additional prometheus rules file
  10. openshift_prometheus_additional_rules_file: null
  11. #prometheus application arguments
  12. openshift_prometheus_args: ['--storage.tsdb.retention=6h']
  13. # storage
  14. # One of ['emptydir', 'pvc']
  15. openshift_prometheus_storage_type: "emptydir"
  16. openshift_prometheus_pvc_name: prometheus
  17. openshift_prometheus_pvc_size: "{{ openshift_prometheus_storage_volume_size | default('10Gi') }}"
  18. openshift_prometheus_pvc_access_modes: [ReadWriteOnce]
  19. openshift_prometheus_pvc_pv_selector: "{{ openshift_prometheus_storage_labels | default({}) }}"
  20. openshift_prometheus_sc_name: "{{ openshift_prometheus_storage_class | default(None) }}"
  21. # One of ['emptydir', 'pvc']
  22. openshift_prometheus_alertmanager_storage_type: "emptydir"
  23. openshift_prometheus_alertmanager_pvc_name: prometheus-alertmanager
  24. openshift_prometheus_alertmanager_pvc_size: "{{ openshift_prometheus_alertmanager_storage_volume_size | default('10Gi') }}"
  25. openshift_prometheus_alertmanager_pvc_access_modes: [ReadWriteOnce]
  26. openshift_prometheus_alertmanager_pvc_pv_selector: "{{ openshift_prometheus_alertmanager_storage_labels | default({}) }}"
  27. openshift_prometheus_alertmanager_sc_name: "{{ openshift_prometheus_alertmanager_storage_class | default(None) }}"
  28. # One of ['emptydir', 'pvc']
  29. openshift_prometheus_alertbuffer_storage_type: "emptydir"
  30. openshift_prometheus_alertbuffer_pvc_name: prometheus-alertbuffer
  31. openshift_prometheus_alertbuffer_pvc_size: "{{ openshift_prometheus_alertbuffer_storage_volume_size | default('10Gi') }}"
  32. openshift_prometheus_alertbuffer_pvc_access_modes: [ReadWriteOnce]
  33. openshift_prometheus_alertbuffer_pvc_pv_selector: "{{ openshift_prometheus_alertbuffer_storage_labels | default({}) }}"
  34. openshift_prometheus_alertbuffer_sc_name: "{{ openshift_prometheus_alertbuffer_storage_class | default(None) }}"
  35. # container resources
  36. openshift_prometheus_cpu_limit: null
  37. openshift_prometheus_memory_limit: null
  38. openshift_prometheus_cpu_requests: null
  39. openshift_prometheus_memory_requests: null
  40. openshift_prometheus_alertmanager_cpu_limit: null
  41. openshift_prometheus_alertmanager_memory_limit: null
  42. openshift_prometheus_alertmanager_cpu_requests: null
  43. openshift_prometheus_alertmanager_memory_requests: null
  44. openshift_prometheus_alertbuffer_cpu_limit: null
  45. openshift_prometheus_alertbuffer_memory_limit: null
  46. openshift_prometheus_alertbuffer_cpu_requests: null
  47. openshift_prometheus_alertbuffer_memory_requests: null
  48. openshift_prometheus_oauth_proxy_cpu_limit: null
  49. openshift_prometheus_oauth_proxy_memory_limit: null
  50. openshift_prometheus_oauth_proxy_cpu_requests: null
  51. openshift_prometheus_oauth_proxy_memory_requests: null