Skip to content

Commit ce65aa7

Browse files
committed
Update kepler version and container template
Update kepler image default version to v0.10.2. The new kepler (starting from 0.10) has completely different set of config options so kepler's template was updated correspondingly. - Removed '-v' option as it's no longer supported. - Added option --web.listen-address=:8888 as kepler no longer runs on port 8888 by default. - There is no longer need to specify desired metrics using environment variables as all metrics are enabled by default.
1 parent ffaae42 commit ce65aa7

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

roles/edpm_telemetry_power_monitoring/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ edpm_telemetry_image_download_retries: "{{ edpm_download_retries | default(5) }}
3838
edpm_telemetry_old_tripleo_compute_sevices:
3939
- tripleo_ceilometer_agent_ipmi.service
4040
# Image to use for kepler
41-
edpm_telemetry_kepler_image: "quay.io/sustainable_computing_io/kepler:release-0.7.12"
41+
edpm_telemetry_kepler_image: "quay.io/sustainable_computing_io/kepler:v0.10.2"
4242
# Instruction for distribution of container health check scripts
4343
edpm_telemetry_power_monitoring_healthcheck_sources:
4444
ceilometer_agent_ipmi: ceilometer_agent

roles/edpm_telemetry_power_monitoring/templates/kepler.json.j2

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,8 @@
44
"restart": "always",
55
"ports": ["8888:8888"],
66
"net": "host",
7-
"command": "-v=2",
7+
"command": "--web.listen-address=:8888",
88
"recreate": true,
9-
"environment": {
10-
"ENABLE_GPU": "true",
11-
"EXPOSE_CONTAINER_METRICS": "true",
12-
"ENABLE_PROCESS_METRICS": "true",
13-
"EXPOSE_VM_METRICS": "true",
14-
"EXPOSE_ESTIMATED_IDLE_POWER_METRICS": "false",
15-
"LIBVIRT_METADATA_URI": "http://openstack.org/xmlns/libvirt/nova/1.1"
16-
},
179
{% if edpm_telemetry_power_monitoring_healthcheck %}
1810
"healthcheck": {
1911
"test": "/openstack/healthcheck kepler",

0 commit comments

Comments
 (0)