Skip to content

Commit

Permalink
tweak duplicate port
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Trent <[email protected]>
  • Loading branch information
trent-s committed Apr 30, 2024
1 parent 68a7194 commit 4ee8bac
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.12
0.0.13
4 changes: 2 additions & 2 deletions bundle/manifests/susql-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion config/default/manager_auth_proxy_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/prometheus_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
}()
Expand Down

0 comments on commit 4ee8bac

Please sign in to comment.