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 |
| 6 | kubernetes_prometheus_enabled: false |
| 7 | kubernetes_prometheus_namespace: stacklight |
| 8 | kubernetes_prometheus_server_resources_limits_memory: 500M |
| 9 | kubernetes_prometheus_server_resources_requests_memory: 500M |
| 10 | kubernetes_prometheus_server_bind_host_port: 31990 |
| 11 | kubernetes_prometheus_server_storage_local_engine: persisted |
| 12 | kubernetes_prometheus_server_use_static_datadir: true |
| 13 | kubernetes: |
| 14 | common: |
| 15 | addons: |
| 16 | prometheus: |
| 17 | enabled: ${_param:kubernetes_prometheus_enabled} |
| 18 | image: ${_param:kubernetes_prometheus_image} |
| 19 | namespace: ${_param:kubernetes_prometheus_namespace} |
| 20 | server: |
| 21 | bind: |
| 22 | port: ${prometheus:server:bind:port} |
| 23 | host: ${prometheus:server:bind:address} |
| 24 | host_port: ${_param:kubernetes_prometheus_server_bind_host_port} |
| 25 | config: |
| 26 | config_dir: ${prometheus:server:dir:config_in_container} |
| 27 | host_config_dir: ${prometheus:server:dir:config} |
| 28 | data_dir: ${_param:prometheus_server_data_directory} |
| 29 | host_data_dir: ${prometheus:server:dir:data} |
| 30 | storage_local_engine: ${_param:kubernetes_prometheus_server_storage_local_engine} |
| 31 | storage_local_retention: ${prometheus:server:storage:local:retention} |
| 32 | use_static_datadir: ${_param:kubernetes_prometheus_server_use_static_datadir} |
| 33 | resources: |
| 34 | limits: |
| 35 | memory: ${_param:kubernetes_prometheus_server_resources_limits_memory} |
| 36 | requests: |
| 37 | memory: ${_param:kubernetes_prometheus_server_resources_requests_memory} |