Files
k8s-apps/victoria-monitoring/pve-node-exporter.yaml
2026-03-14 13:17:58 +00:00

33 lines
744 B
YAML

#that one connects to proxmox and provides metrics that can then be scraped
apiVersion: apps/v1
kind: Deployment
metadata:
name: pve-exporter
namespace: vm
spec:
replicas: 1
selector:
matchLabels:
app: pve-exporter
template:
metadata:
labels:
app: pve-exporter
spec:
containers:
- name: pve-exporter
image: ghcr.io/prometheus-pve/prometheus-pve-exporter:latest
args:
- /etc/pve-exporter/pve.yml
ports:
- name: http
containerPort: 9221
volumeMounts:
- name: config
mountPath: /etc/pve-exporter
readOnly: true
volumes:
- name: config
secret:
secretName: pve-exporter-config