main.yaml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. ---
  2. # defaults file for openshift_prometheus
  3. openshift_prometheus_state: present
  4. openshift_prometheus_namespace: prometheus
  5. openshift_prometheus_replicas: 1
  6. openshift_prometheus_node_selector: {"region":"infra"}
  7. # images
  8. openshift_prometheus_image_proxy: "openshift/oauth-proxy:v1.0.0"
  9. openshift_prometheus_image_prometheus: "openshift/prometheus:v2.0.0-dev"
  10. openshift_prometheus_image_alertmanager: "openshift/prometheus-alertmanager:v0.9.1"
  11. openshift_prometheus_image_alertbuffer: "openshift/prometheus-alert-buffer:v0.0.1"
  12. # additional prometheus rules file
  13. openshift_prometheus_additional_rules_file: null
  14. # storage
  15. openshift_prometheus_storage_type: pvc
  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_alertmanager_storage_type: pvc
  21. openshift_prometheus_alertmanager_pvc_name: prometheus-alertmanager
  22. openshift_prometheus_alertmanager_pvc_size: "{{ openshift_prometheus_alertmanager_storage_volume_size | default('10Gi') }}"
  23. openshift_prometheus_alertmanager_pvc_access_modes: [ReadWriteOnce]
  24. openshift_prometheus_alertmanager_pvc_pv_selector: "{{ openshift_prometheus_alertmanager_storage_labels | default({}) }}"
  25. openshift_prometheus_alertbuffer_storage_type: pvc
  26. openshift_prometheus_alertbuffer_pvc_name: prometheus-alertbuffer
  27. openshift_prometheus_alertbuffer_pvc_size: "{{ openshift_prometheus_alertbuffer_storage_volume_size | default('10Gi') }}"
  28. openshift_prometheus_alertbuffer_pvc_access_modes: [ReadWriteOnce]
  29. openshift_prometheus_alertbuffer_pvc_pv_selector: "{{ openshift_prometheus_alertbuffer_storage_labels | default({}) }}"
  30. # container resources
  31. openshift_prometheus_cpu_limit: null
  32. openshift_prometheus_memory_limit: null
  33. openshift_prometheus_cpu_requests: null
  34. openshift_prometheus_memory_requests: null
  35. openshift_prometheus_alertmanager_cpu_limit: null
  36. openshift_prometheus_alertmanager_memory_limit: null
  37. openshift_prometheus_alertmanager_cpu_requests: null
  38. openshift_prometheus_alertmanager_memory_requests: null
  39. openshift_prometheus_alertbuffer_cpu_limit: null
  40. openshift_prometheus_alertbuffer_memory_limit: null
  41. openshift_prometheus_alertbuffer_cpu_requests: null
  42. openshift_prometheus_alertbuffer_memory_requests: null
  43. openshift_prometheus_oauth_proxy_cpu_limit: null
  44. openshift_prometheus_oauth_proxy_memory_limit: null
  45. openshift_prometheus_oauth_proxy_cpu_requests: null
  46. openshift_prometheus_oauth_proxy_memory_requests: null