update prometheus

This commit is contained in:
2025-03-30 20:32:32 +02:00
parent 1c41afde20
commit 9291ca3249
2 changed files with 73 additions and 16 deletions

View File

@@ -0,0 +1,18 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
labels:
job: prometheus
name: prometheus
namespace: monitoring
spec:
endpoints:
- interval: 30s
port: web
scheme: https
tlsConfig:
insecureSkipVerify: true
jobLabel: prometheus
selector:
matchLabels:
prometheus: prometheus-k8s