move fail2ban-exporter-deployment to core-deployments
All checks were successful
ci/woodpecker/push/yamllint Pipeline was successful
All checks were successful
ci/woodpecker/push/yamllint Pipeline was successful
This commit is contained in:
parent
01bae052c9
commit
2dc2c7e548
8 changed files with 251 additions and 0 deletions
28
fail2ban-exporter/servicemonitor.yaml
Normal file
28
fail2ban-exporter/servicemonitor.yaml
Normal file
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
labels:
|
||||
app: fail2ban-prometheus-exporter
|
||||
app.kubernetes.io/instance: fail2ban-prometheus
|
||||
app.kubernetes.io/name: fail2ban-prometheus-exporter
|
||||
name: fail2ban-prometheus-servicemonitor
|
||||
namespace: fail2ban-prometheus
|
||||
spec:
|
||||
attachMetadata:
|
||||
node: false
|
||||
endpoints:
|
||||
- interval: 30s
|
||||
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: fail2ban-prometheus
|
||||
app.kubernetes.io/name: fail2ban-prometheus-exporter
|
Loading…
Add table
Add a link
Reference in a new issue