This commit is contained in:
2026-03-14 13:17:58 +00:00
parent fdb1b45fa2
commit 0a0371abc0
2 changed files with 45 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
#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

View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: Secret
metadata:
name: pve-exporter-config
namespace: vm
type: Opaque
stringData:
pve.yml: |
default:
user: monitoring@pve
password: monitor123
verify_ssl: false