From ae1fb693828391ebb9724b39f40d03d52012e3ba Mon Sep 17 00:00:00 2001 From: Kenichi Omichi Date: Wed, 29 Sep 2021 01:32:49 -0700 Subject: [PATCH] Fix cilium operator metrics activation (#8000) (#8033) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is a cherry-pick of 598f178054f522e64a3a9dfc1b973732fd52afd8 Co-authored-by: LĂ©opold Jacquot --- roles/network_plugin/cilium/templates/cilium-config.yml.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/network_plugin/cilium/templates/cilium-config.yml.j2 b/roles/network_plugin/cilium/templates/cilium-config.yml.j2 index fd251761d..c9f4d26a6 100644 --- a/roles/network_plugin/cilium/templates/cilium-config.yml.j2 +++ b/roles/network_plugin/cilium/templates/cilium-config.yml.j2 @@ -38,6 +38,8 @@ data: # scheduled. {% if cilium_enable_prometheus %} prometheus-serve-addr: ":9090" + operator-prometheus-serve-addr: ":6942" + enable-metrics: "true" {% endif %} # If you want to run cilium in debug mode change this value to true