pve-exporter

by harish2k01

Helm chartv0.3.0App 3.12.0Apache-2.0Verified publisher

Deploys the prometheus-pve-exporter for scraping Proxmox VE metrics

About this chart

PVE Exporter Helm Chart

Browse the Helm chart catalog to explore available charts and installation commands.

This chart deploys prometheus-pve/prometheus-pve-exporter, a Prometheus exporter for Proxmox VE.

[!NOTE] This is an unofficial community Helm chart maintained by harish2k01. It is not affiliated with or endorsed by the upstream project. For chart issues, questions, or improvements, please open an issue in the harish2k01/helm-charts repository.

Install

helm repo add harish2k01 https://charts.harish2k01.in
helm repo update
helm install pve-exporter harish2k01/pve-exporter

Install From OCI

helm install pve-exporter oci://ghcr.io/harish2k01/helm-charts/pve-exporter --version 0.2.2

Proxmox Configuration

The exporter expects a pve.yml config file mounted from a Kubernetes Secret. Use an existing Secret for GitOps deployments:

proxmox:
  config:
    existingSecret: pve-exporter
    secretKey: pve.yaml

For local testing, the chart can create a normal Kubernetes Secret from an inline config value:

proxmox:
  config:
    createSecret: true
    value: |
      default:
        user: prometheus@pve
        token_name: exporter
        token_value: change-me
        verify_ssl: false

ServiceMonitor

Enable a Prometheus Operator ServiceMonitor when your cluster has the CRD installed:

proxmox:
  targets:
    - 10.10.10.100

serviceMonitor:
  enabled: true
  labels:
    release: kube-prometheus-stack

Values

KeyTypeDefaultDescription
replicaCountint1Number of exporter pods
image.repositorystringprompve/prometheus-pve-exporterContainer image repository
image.tagstring3.11.0Container image tag
image.pullPolicystringIfNotPresentContainer pull policy
proxmox.targetslist[10.10.10.100]Proxmox endpoints to scrape
proxmox.config.enabledbooltrueMount Secret-backed YAML; disable for environment configuration mode
proxmox.config.existingSecretstring""Existing Secret containing exporter config
proxmox.config.createSecretboolfalseCreate a normal Secret from proxmox.config.value
proxmox.config.secretKeystringpve.yamlSecret key containing the exporter config
proxmox.config.valuestring""Inline exporter config used when creating a Secret
proxmox.config.mountPathstring/etc/prometheus/pve.ymlConfig file mount path
service.typestringClusterIPKubernetes Service type
service.portint9221Service port
service.targetPortint9221Container target port
serviceMonitor.enabledboolfalseCreate Prometheus Operator ServiceMonitor resources
serviceMonitor.intervalstring30sScrape interval
serviceMonitor.pathstring/pveExporter scrape path
serviceMonitor.paramsobjectdefault module, cluster, node paramsServiceMonitor scrape params
collectors.qdevicebooltrueCollect QDevice state during cluster scrapes; disable if not applicable
logLevelstring""Exporter --log.level (debug, info, warning, error, critical); empty keeps upstream info
extraArgslist[]Additional exporter CLI flags
resourcesobject{}Container resource requests and limits
livenessProbeobjectHTTP GET /Liveness probe
readinessProbeobjectHTTP GET /Readiness probe
nodeSelectorobject{}Pod node selector
tolerationslist[]Pod tolerations
affinityobject{}Pod affinity

Upgrade history

See CHANGELOG.md for application changes and compatibility notes.

Deploy pve-exporter with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has pve-exporter on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartpve-exporter is pinned at v0.3.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply