Mateusz Matuszkowiak | 9544c03 | 2018-09-04 15:59:42 +0200 | [diff] [blame] | 1 | classes: |
| 2 | - system.prometheus.server.container |
| 3 | parameters: |
| 4 | _param: |
| 5 | kubernetes_prometheus_image: ${_param:mcp_docker_registry}/openstack-docker/prometheus:2018.8.0 |
Mateusz Matuszkowiak | 552d1fa | 2018-10-09 14:42:43 +0200 | [diff] [blame^] | 6 | kubernetes_prometheus_enabled: true |
| 7 | kubernetes_prometheus_server_resources_limits_memory: 1G |
| 8 | kubernetes_prometheus_server_resources_requests_memory: 1G |
Mateusz Matuszkowiak | 9544c03 | 2018-09-04 15:59:42 +0200 | [diff] [blame] | 9 | kubernetes: |
| 10 | common: |
| 11 | addons: |
| 12 | prometheus: |
| 13 | enabled: ${_param:kubernetes_prometheus_enabled} |
Mateusz Matuszkowiak | 9544c03 | 2018-09-04 15:59:42 +0200 | [diff] [blame] | 14 | server: |
Mateusz Matuszkowiak | 552d1fa | 2018-10-09 14:42:43 +0200 | [diff] [blame^] | 15 | image: ${_param:kubernetes_prometheus_image} |
Mateusz Matuszkowiak | 9544c03 | 2018-09-04 15:59:42 +0200 | [diff] [blame] | 16 | bind: |
| 17 | port: ${prometheus:server:bind:port} |
| 18 | host: ${prometheus:server:bind:address} |
Mateusz Matuszkowiak | 9544c03 | 2018-09-04 15:59:42 +0200 | [diff] [blame] | 19 | config: |
| 20 | config_dir: ${prometheus:server:dir:config_in_container} |
| 21 | host_config_dir: ${prometheus:server:dir:config} |
| 22 | data_dir: ${_param:prometheus_server_data_directory} |
| 23 | host_data_dir: ${prometheus:server:dir:data} |
Mateusz Matuszkowiak | 9544c03 | 2018-09-04 15:59:42 +0200 | [diff] [blame] | 24 | resources: |
| 25 | limits: |
| 26 | memory: ${_param:kubernetes_prometheus_server_resources_limits_memory} |
| 27 | requests: |
| 28 | memory: ${_param:kubernetes_prometheus_server_resources_requests_memory} |