main.yaml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. ---
  2. openshift_metrics_cassandra_image: "{{ l_os_registry_url | regex_replace(l_openshift_logging_search | regex_escape, 'metrics-cassandra') }}"
  3. openshift_metrics_hawkular_agent_image: "{{ l_os_registry_url | regex_replace(l_openshift_logging_search | regex_escape, 'metrics-hawkular-openshift-agent') }}"
  4. openshift_metrics_hawkular_metrics_image: "{{ l_os_registry_url | regex_replace(l_openshift_logging_search | regex_escape, 'metrics-hawkular-metrics') }}"
  5. openshift_metrics_schema_installer_image: "{{ l_os_registry_url | regex_replace(l_openshift_logging_search | regex_escape, 'metrics-schema-installer') }}"
  6. openshift_metrics_heapster_image: "{{ l_os_registry_url | regex_replace(l_openshift_logging_search | regex_escape, 'metrics-heapster') }}"
  7. openshift_metrics_start_cluster: True
  8. openshift_metrics_install_metrics: False
  9. openshift_metrics_startup_timeout: 500
  10. openshift_metrics_hawkular_replicas: 1
  11. openshift_metrics_hawkular_limits_memory: 2.5G
  12. openshift_metrics_hawkular_limits_cpu: null
  13. openshift_metrics_hawkular_requests_memory: 1.5G
  14. openshift_metrics_hawkular_requests_cpu: null
  15. openshift_metrics_hawkular_cert: ""
  16. openshift_metrics_hawkular_key: ""
  17. openshift_metrics_hawkular_ca: ""
  18. openshift_metrics_hawkular_nodeselector: ""
  19. openshift_metrics_hawkular_route_annotations: {}
  20. openshift_metrics_cassandra_replicas: 1
  21. openshift_metrics_cassandra_storage_type: "{{ openshift_metrics_storage_kind | default('emptydir') }}"
  22. openshift_metrics_cassandra_pvc_size: "{{ openshift_metrics_storage_volume_size | default('10Gi') }}"
  23. openshift_metrics_cassandra_pv_selector: "{{ openshift_metrics_storage_labels | default('') }}"
  24. openshift_metrics_cassandra_limits_memory: 2G
  25. openshift_metrics_cassandra_limits_cpu: null
  26. openshift_metrics_cassandra_requests_memory: 1G
  27. openshift_metrics_cassandra_requests_cpu: null
  28. openshift_metrics_cassandra_nodeselector: ""
  29. openshift_metrics_cassandra_storage_group: 65534
  30. openshift_metrics_cassandra_take_snapshot: False
  31. openshift_metrics_heapster_standalone: False
  32. openshift_metrics_heapster_limits_memory: 3.75G
  33. openshift_metrics_heapster_limits_cpu: null
  34. openshift_metrics_heapster_requests_memory: 0.9375G
  35. openshift_metrics_heapster_requests_cpu: null
  36. openshift_metrics_heapster_nodeselector: ""
  37. openshift_metrics_heapster_concurrency_limit: 5
  38. openshift_metrics_install_hawkular_agent: False
  39. openshift_metrics_hawkular_agent_limits_memory: null
  40. openshift_metrics_hawkular_agent_limits_cpu: null
  41. openshift_metrics_hawkular_agent_requests_memory: null
  42. openshift_metrics_hawkular_agent_requests_cpu: null
  43. openshift_metrics_hawkular_agent_nodeselector: ""
  44. openshift_metrics_hawkular_agent_namespace: "default"
  45. openshift_metrics_hawkular_hostname: "hawkular-metrics.{{openshift_master_default_subdomain}}"
  46. openshift_metrics_duration: 7
  47. openshift_metrics_resolution: 30s
  48. #####
  49. # Caution should be taken for the following defaults before
  50. # overriding the values here
  51. #####
  52. openshift_metrics_master_url: https://kubernetes.default.svc
  53. openshift_metrics_node_id: nodename
  54. openshift_metrics_old_project: openshift-infra
  55. openshift_metrics_project: openshift-metrics
  56. openshift_metrics_cassandra_pvc_prefix: metrics-cassandra
  57. openshift_metrics_cassandra_pvc_access: "{{ openshift_metrics_storage_access_modes | default(['ReadWriteOnce']) }}"
  58. openshift_metrics_hawkular_user_write_access: False
  59. openshift_metrics_heapster_allowed_users: system:master-proxy
  60. openshift_metrics_cassandra_enable_prometheus_endpoint: True
  61. openshift_metrics_hawkular_enable_prometheus_endpoint: True