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
|
apiVersion: monitoring.coreos.com/v1
|
||||||
kind: Probe
|
kind: ServiceMonitor
|
||||||
metadata:
|
metadata:
|
||||||
name: proxmoxve-exporter
|
name: proxmoxve-exporter
|
||||||
namespace: monitoring
|
namespace: monitoring
|
||||||
|
labels:
|
||||||
|
release: kube-prometheus-stack
|
||||||
spec:
|
spec:
|
||||||
interval: 60s
|
selector:
|
||||||
module: default
|
matchLabels:
|
||||||
prober:
|
app: proxmoxve-service
|
||||||
url: proxmoxve-exporter.monitoring.svc.cluster.local:9221
|
endpoints:
|
||||||
|
- port: http
|
||||||
|
interval: 2m
|
||||||
|
scrapeTimeout: 1m
|
||||||
path: /pve
|
path: /pve
|
||||||
targets:
|
params:
|
||||||
staticConfig:
|
target:
|
||||||
static:
|
|
||||||
- "192.168.87.29"
|
- "192.168.87.29"
|
||||||
- "192.168.87.20"
|
module:
|
||||||
|
- default
|
Loading…
Reference in New Issue