Tom Neuber
6e33238de4
All checks were successful
ci/woodpecker/push/yamllint Pipeline was successful
28 lines
720 B
YAML
28 lines
720 B
YAML
---
|
|
apiVersion: monitoring.coreos.com/v1
|
|
kind: ServiceMonitor
|
|
metadata:
|
|
labels:
|
|
app: sb-server-monitor-exporter
|
|
app.kubernetes.io/instance: sb-server-monitor
|
|
app.kubernetes.io/name: sb-server-monitor-exporter
|
|
name: sb-server-monitor-exporter-servicemonitor
|
|
namespace: sb-server-monitor
|
|
spec:
|
|
attachMetadata:
|
|
node: false
|
|
endpoints:
|
|
- interval: 5m
|
|
path: /metrics
|
|
port: http-metrics
|
|
relabelings:
|
|
- action: replace
|
|
sourceLabels:
|
|
- __meta_kubernetes_endpoint_node_name
|
|
targetLabel: node
|
|
scheme: http
|
|
jobLabel: jobLabel
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/instance: sb-server-monitor
|
|
app.kubernetes.io/name: sb-server-monitor-exporter
|