diff --git a/acm/deploy/helm/clc-state-metrics/templates/clc-state-metrics.servicemonitor.yaml b/acm/deploy/helm/clc-state-metrics/templates/clc-state-metrics.servicemonitor.yaml new file mode 100644 index 000000000..8e596e211 --- /dev/null +++ b/acm/deploy/helm/clc-state-metrics/templates/clc-state-metrics.servicemonitor.yaml @@ -0,0 +1,17 @@ +apiVersion: azmonitoring.coreos.com/v1 +kind: ServiceMonitor +metadata: + name: clusterlifecycle-state-metrics-v2 + namespace: {{ .Values.global.namespace }} + labels: + clc-app: clusterlifecycle-state-metrics-v2 +spec: + selector: + matchLabels: + clc-app: clusterlifecycle-state-metrics-v2 + namespaceSelector: + matchNames: + - {{ .Values.global.namespace }} + endpoints: + - port: http + scheme: http diff --git a/acm/deploy/helm/clc-state-metrics/templates/metrics-service.yaml b/acm/deploy/helm/clc-state-metrics/templates/metrics-service.yaml index f158ce20c..99242b040 100644 --- a/acm/deploy/helm/clc-state-metrics/templates/metrics-service.yaml +++ b/acm/deploy/helm/clc-state-metrics/templates/metrics-service.yaml @@ -12,9 +12,9 @@ metadata: spec: type: ClusterIP ports: - - name: https - port: 8443 - targetPort: 8443 + - name: http + port: 8080 + targetPort: 8080 protocol: TCP selector: app: clusterlifecycle-state-metrics-v2