With 1d00e0ab ("ServiceMonitor: Enable Prometheus to select ServMon
outside own ns") merged: To emphasize the fact, that ServiceMonitors can
be deployed alongside their targets, this patch moves the Alertmanager,
Kube-State-Metrics, Node-Exporter and Prometheus Operator
Service-Monitor into the respective target folder in the kube-prometheus
project.
14 lines
261 B
YAML
14 lines
261 B
YAML
apiVersion: monitoring.coreos.com/v1
|
|
kind: ServiceMonitor
|
|
metadata:
|
|
labels:
|
|
k8s-app: prometheus-operator
|
|
name: prometheus-operator
|
|
namespace: monitoring
|
|
spec:
|
|
endpoints:
|
|
- port: http
|
|
selector:
|
|
matchLabels:
|
|
k8s-app: prometheus-operator
|