Skip to content

Commit

Permalink
scrape over http
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-schndr committed Dec 23, 2024
1 parent e889b04 commit f2ad8b8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f2ad8b8

Please sign in to comment.