blob: b7a00908b6bd3284460fb7a528641043128bd044 [file] [log] [blame]
Mateusz Matuszkowiak9544c032018-09-04 15:59:42 +02001classes:
2- system.prometheus.server.container
3parameters:
4 _param:
5 kubernetes_prometheus_image: ${_param:mcp_docker_registry}/openstack-docker/prometheus:2018.8.0
Mateusz Matuszkowiak552d1fa2018-10-09 14:42:43 +02006 kubernetes_prometheus_enabled: true
7 kubernetes_prometheus_server_resources_limits_memory: 1G
8 kubernetes_prometheus_server_resources_requests_memory: 1G
Mateusz Matuszkowiak9544c032018-09-04 15:59:42 +02009 kubernetes:
10 common:
11 addons:
12 prometheus:
13 enabled: ${_param:kubernetes_prometheus_enabled}
Mateusz Matuszkowiak9544c032018-09-04 15:59:42 +020014 server:
Mateusz Matuszkowiak552d1fa2018-10-09 14:42:43 +020015 image: ${_param:kubernetes_prometheus_image}
Mateusz Matuszkowiak9544c032018-09-04 15:59:42 +020016 bind:
17 port: ${prometheus:server:bind:port}
18 host: ${prometheus:server:bind:address}
Mateusz Matuszkowiak9544c032018-09-04 15:59:42 +020019 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 Matuszkowiak9544c032018-09-04 15:59:42 +020024 resources:
25 limits:
26 memory: ${_param:kubernetes_prometheus_server_resources_limits_memory}
27 requests:
28 memory: ${_param:kubernetes_prometheus_server_resources_requests_memory}