Revert "fix(proxmoxve): use a Probe instead of ServiceMonitor"

This reverts commit 2157541fdf.
This commit is contained in:
SeanOMik 2023-08-06 00:47:29 -04:00
parent b20afdcee1
commit f1f81b5fea
Signed by: SeanOMik
GPG Key ID: 568F326C7EB33ACB
1 changed files with 14 additions and 9 deletions

View File

@ -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