From 4ee8bacaa1da6e4114e5542041d04c7f147c171f Mon Sep 17 00:00:00 2001 From: Scott Trent Date: Tue, 30 Apr 2024 14:01:18 +0900 Subject: [PATCH] tweak duplicate port Signed-off-by: Scott Trent --- VERSION | 2 +- bundle/manifests/susql-operator.clusterserviceversion.yaml | 4 ++-- config/default/manager_auth_proxy_patch.yaml | 2 +- internal/controller/prometheus_manager.go | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/VERSION b/VERSION index 8cbf02c..43b2961 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.12 +0.0.13 diff --git a/bundle/manifests/susql-operator.clusterserviceversion.yaml b/bundle/manifests/susql-operator.clusterserviceversion.yaml index afb4fe8..48b0d0c 100644 --- a/bundle/manifests/susql-operator.clusterserviceversion.yaml +++ b/bundle/manifests/susql-operator.clusterserviceversion.yaml @@ -23,7 +23,7 @@ metadata: capabilities: Basic Install categories: Monitoring containerImage: quay.io/sustainable_computing_io/susql_operator:0.0.12 - createdAt: "2024-04-30T04:26:09Z" + createdAt: "2024-04-30T04:59:54Z" description: 'Aggregates energy data from pods tagged with SusQL labels ' operators.operatorframework.io/builder: operator-sdk-v1.34.1 operators.operatorframework.io/project_layout: go.kubebuilder.io/v4 @@ -197,7 +197,7 @@ spec: - ALL - args: - --health-probe-bind-address=:8081 - - --metrics-bind-address=127.0.0.1:8082 + - --metrics-bind-address=127.0.0.1:9999 - --leader-elect - --kepler-prometheus-url=$(KEPLER-PROMETHEUS-URL) - --kepler-metric-name=$(KEPLER-METRIC-NAME) diff --git a/config/default/manager_auth_proxy_patch.yaml b/config/default/manager_auth_proxy_patch.yaml index ad315ac..d0a6b5d 100644 --- a/config/default/manager_auth_proxy_patch.yaml +++ b/config/default/manager_auth_proxy_patch.yaml @@ -35,7 +35,7 @@ spec: - name: manager args: - "--health-probe-bind-address=:8081" - - "--metrics-bind-address=127.0.0.1:8082" + - "--metrics-bind-address=127.0.0.1:9999" - "--leader-elect" - "--kepler-prometheus-url=$(KEPLER-PROMETHEUS-URL)" - "--kepler-metric-name=$(KEPLER-METRIC-NAME)" diff --git a/internal/controller/prometheus_manager.go b/internal/controller/prometheus_manager.go index 7efe8d6..9911e66 100644 --- a/internal/controller/prometheus_manager.go +++ b/internal/controller/prometheus_manager.go @@ -179,7 +179,7 @@ func (r *LabelGroupReconciler) InitializeMetricsExporter() { err := http.ListenAndServe(metricsUrl.Hostname()+":"+metricsUrl.Port(), nil) if err != nil { - r.Logger.V(0).Error(err, "PANIC InitializeMetricsExporterSetAggregatedEnergyForLabels] ListenAndServe") + r.Logger.V(0).Error(err, "PANIC [InitializeMetricsExporter] ListenAndServe") panic("PANIC [InitializeMetricsExporter]: ListenAndServe: " + err.Error()) } }()