k3s-cluster/cluster/apps/monitoring/proxmoxve-exporter/probe.yaml

49 lines
942 B
YAML
Raw Normal View History

2023-05-11 05:23:10 +00:00
apiVersion: monitoring.coreos.com/v1
kind: Probe
2023-05-11 05:23:10 +00:00
metadata:
name: proxmoxve-exporter
namespace: monitoring
labels:
release: kube-prometheus-stack
2023-05-11 05:23:10 +00:00
spec:
interval: 60s
module: default
prober:
url: proxmoxve-exporter.monitoring.svc.cluster.local:9221
2023-05-11 05:23:10 +00:00
path: /pve
targets:
staticConfig:
static:
2023-06-27 22:58:53 +00:00
- "192.168.87.29"
- "192.168.87.20"
#apiVersion: monitoring.coreos.com/v1
#kind: ServiceMonitor
#metadata:
# name: proxmoxve-exporter
# namespace: monitoring
# labels:
# release: kube-prometheus-stack
#spec:
# selector:
# matchLabels:
# app: proxmoxve-service
# endpoints:
# - port: http
# interval: 2m
# scrapeTimeout: 1m
# path: /pve
# params:
# target:
# - "192.168.87.29"
# module:
# - default
# - port: http
# interval: 2m
# scrapeTimeout: 1m
# path: /pve
# params:
# target:
# - "192.168.87.20"
# module:
# - default