diff --git a/roles/edpm_telemetry_power_monitoring/templates/kepler.json.j2 b/roles/edpm_telemetry_power_monitoring/templates/kepler.json.j2 index 8c7e04e1e..1c46877bc 100644 --- a/roles/edpm_telemetry_power_monitoring/templates/kepler.json.j2 +++ b/roles/edpm_telemetry_power_monitoring/templates/kepler.json.j2 @@ -2,14 +2,16 @@ "image": "{{ edpm_telemetry_kepler_image }}", "privileged": "true", "restart": "always", + "recreate": true, "ports": ["8888:8888"], "command": "-v 2", "recreate": true, "environment": { "ENABLE_GPU": "true", + "EXPOSE_CONTAINER_METRICS": "true", "ENABLE_PROCESS_METRICS": "true", - "EXPOSE_ESTIMATED_IDLE_POWER_METRICS": "true", "EXPOSE_VM_METRICS": "true", + "EXPOSE_ESTIMATED_IDLE_POWER_METRICS": "false", "LIBVIRT_METADATA_URI": "http://openstack.org/xmlns/libvirt/nova/1.1" }, {% if edpm_telemetry_power_monitoring_healthcheck %} @@ -20,8 +22,9 @@ {% endif %} "volumes": [ "/lib/modules:/lib/modules:ro", - "/run/libvirt:/run/libvirt:shared,ro", + "/usr/src:/usr/src", "/sys/:/sys/", - "/proc:/proc" + "/proc:/proc", + "/run/libvirt/libvirt-sock:/run/libvirt/libvirt-sock:shared,ro" ] }