diff --git a/roles/edpm_telemetry_power_monitoring/tasks/install.yml b/roles/edpm_telemetry_power_monitoring/tasks/install.yml index 9d6aa547e..16dfc31ea 100644 --- a/roles/edpm_telemetry_power_monitoring/tasks/install.yml +++ b/roles/edpm_telemetry_power_monitoring/tasks/install.yml @@ -63,8 +63,7 @@ become: true ansible.builtin.systemd: name: edpm_kepler.service - enabled: true - state: restarted + state: started - name: List deployed health check scripts ansible.builtin.find: diff --git a/roles/edpm_telemetry_power_monitoring/templates/kepler.json.j2 b/roles/edpm_telemetry_power_monitoring/templates/kepler.json.j2 index 8c7e04e1e..3c4854fbb 100644 --- a/roles/edpm_telemetry_power_monitoring/templates/kepler.json.j2 +++ b/roles/edpm_telemetry_power_monitoring/templates/kepler.json.j2 @@ -3,13 +3,14 @@ "privileged": "true", "restart": "always", "ports": ["8888:8888"], - "command": "-v 2", - "recreate": true, + "command": "-v=2", + "net": "host", "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 %} @@ -21,7 +22,7 @@ "volumes": [ "/lib/modules:/lib/modules:ro", "/run/libvirt:/run/libvirt:shared,ro", - "/sys/:/sys/", + "/sys/:/sys:ro", "/proc:/proc" ] }