use ServiceMonitors to generate Prometheus Kubernetes config
This commit is contained in:
@@ -11,4 +11,4 @@ spec:
|
||||
protocol: TCP
|
||||
targetPort: web
|
||||
selector:
|
||||
alertmanager: alertmanager-main
|
||||
alertmanager: main
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
apiVersion: "monitoring.coreos.com/v1alpha1"
|
||||
kind: "Alertmanager"
|
||||
metadata:
|
||||
name: "alertmanager-main"
|
||||
name: "main"
|
||||
labels:
|
||||
alertmanager: "main"
|
||||
spec:
|
||||
|
||||
Reference in New Issue
Block a user