Revert "fix(proxmoxve): use a Probe instead of ServiceMonitor"
This reverts commit 2157541fdf
.
This commit is contained in:
parent
b20afdcee1
commit
f1f81b5fea
|
@ -1,16 +1,21 @@
|
|||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: Probe
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: proxmoxve-exporter
|
||||
namespace: monitoring
|
||||
labels:
|
||||
release: kube-prometheus-stack
|
||||
spec:
|
||||
interval: 60s
|
||||
module: default
|
||||
prober:
|
||||
url: proxmoxve-exporter.monitoring.svc.cluster.local:9221
|
||||
selector:
|
||||
matchLabels:
|
||||
app: proxmoxve-service
|
||||
endpoints:
|
||||
- port: http
|
||||
interval: 2m
|
||||
scrapeTimeout: 1m
|
||||
path: /pve
|
||||
targets:
|
||||
staticConfig:
|
||||
static:
|
||||
params:
|
||||
target:
|
||||
- "192.168.87.29"
|
||||
- "192.168.87.20"
|
||||
module:
|
||||
- default
|
Loading…
Reference in New Issue