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