diff --git a/config/default/metrics_service.yaml b/config/default/metrics_service.yaml index e8ffc2b8..93eb7741 100644 --- a/config/default/metrics_service.yaml +++ b/config/default/metrics_service.yaml @@ -10,4 +10,8 @@ spec: protocol: TCP targetPort: 8443 selector: - control-plane: controller-manager + control-plane: coherence + app.kubernetes.io/name: coherence-operator + app.kubernetes.io/instance: coherence-operator-manager + app.kubernetes.io/version: "3.5.5" + app.kubernetes.io/component: manager diff --git a/config/prometheus/monitor.yaml b/config/prometheus/monitor.yaml index 82f57bfc..f5a9481b 100644 --- a/config/prometheus/monitor.yaml +++ b/config/prometheus/monitor.yaml @@ -29,4 +29,8 @@ spec: insecureSkipVerify: true selector: matchLabels: - control-plane: controller-manager + control-plane: coherence + app.kubernetes.io/name: coherence-operator + app.kubernetes.io/instance: coherence-operator-manager + app.kubernetes.io/version: "3.5.5" + app.kubernetes.io/component: manager