add kubernaut ServiceMonitor

This commit is contained in:
2025-07-09 21:04:59 -05:00
parent f48135742d
commit aad72215c3
2 changed files with 13 additions and 0 deletions

View File

@@ -8,5 +8,6 @@ resources:
- deployment.yaml
- hpa.yaml
- services.yaml
- servicemonitor.yaml
- cronjob.yaml
- ingress.yaml

View File

@@ -0,0 +1,12 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: kubernaut
labels:
release: kube-prometheus-stack
spec:
selector:
matchLabels:
app: kubernaut
endpoints:
- port: web