prometheus-pve-exporter

by M0NsTeRRR

Helm chartv2.7.1App 3.10.1Verified publisher

prometheus-pve-exporter helm chart for Kubernetes

About this chart

prometheus-pve-exporter

prometheus-pve-exporter helm chart for Kubernetes

Homepage: https://github.com/prometheus-pve/prometheus-pve-exporter

Maintainers

NameEmailUrl
Ludovic Ortega[email protected]

Source Code

Requirements

Kubernetes: >=1.23.0-0

Install

helm install prometheus-pve-exporter oci://ghcr.io/m0nsterrr/helm-charts/prometheus-pve-exporter

Verify the signature with cosign :

cosign verify ghcr.io/m0nsterrr/helm-charts/prometheus-pve-exporter:2.7.1 --certificate-identity-regexp=^https://github.com/M0NsTeRRR/helm-charts.*$ --certificate-oidc-issuer=https://token.ac
tions.githubusercontent.com

Values

KeyTypeDefaultDescription
affinityobject{}
extraEnvlist[]Environment variables to add to the prometheus-pve-exporter pods
extraEnvFromlist[]Environment variables from secrets or configmaps to add to the prometheus-pve-exporter pods
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"
image.registrystring"ghcr.io"
image.repositorystring"prometheus-pve/prometheus-pve-exporter"
image.shastring""
image.tagstring""Overrides the image tag whose default is the chart appVersion.
imagePullSecretslist[]
ingress.annotationsobject{}
ingress.enabledboolfalse
ingress.hosts[0].hoststring"chart-example.local"
ingress.hosts[0].paths[0].pathstring"/"
ingress.hosts[0].paths[0].pathTypestring"ImplementationSpecific"
ingress.ingressClassNamestring""
ingress.tlslist[]
nameOverridestring""
nodeSelectorobject{}
podAnnotationsobject{}
podLabelsobject{}
podSecurityContext.fsGroupint1000
podSecurityContext.fsGroupChangePolicystring"OnRootMismatch"
priorityClassNamestring""Priority class to be assigned to the Pod(s).
prometheusRule.enabledboolfalseIf true, a PrometheusRule CRD is created for a prometheus operator
prometheusRule.namespacestringnilIf set create the prometheusRule in an alternate namespace.
replicaCountint1
resourcesobject{}
route.main.additionalRuleslist[]
route.main.annotationsobject{}
route.main.apiVersionstring"gateway.networking.k8s.io/v1"Set the route apiVersion, e.g. gateway.networking.k8s.io/v1 or gateway.networking.k8s.io/v1alpha2
route.main.enabledboolfalseEnables or disables the Gateway API route
route.main.filterslist[]
route.main.hostnameslist[]
route.main.httpsRedirectboolfalseTo redirect to HTTPS, create a new route object under the main route and enable this option. This should only be used with HTTP-like routes, such as HTTPRoute or GRPCRoute. Reference
route.main.kindstring"HTTPRoute"Set the route kind. Note that experimental kinds require changing apiVersion
route.main.labelsobject{}
route.main.matches[0].path.typestring"PathPrefix"
route.main.matches[0].path.valuestring"/"
route.main.parentRefslist[]
securityContext.allowPrivilegeEscalationboolfalse
securityContext.capabilities.drop[0]string"ALL"
securityContext.privilegedboolfalse
securityContext.readOnlyRootFilesystemboolfalse
securityContext.runAsGroupint1000
securityContext.runAsNonRootbooltrue
securityContext.runAsUserint1000
securityContext.seccompProfile.typestring"RuntimeDefault"
service.portint80
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.automountbooltrueAutomatically mount a ServiceAccount's API credentials?
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestring""If not set and create is true, a name is generated using the fullname template
serviceMonitor.enabledboolfalseIf true, a ServiceMonitor CRD is created for a prometheus operator
serviceMonitor.intervalstring"30s"
serviceMonitor.labelsobject{}
serviceMonitor.metricRelabelingslist[]
serviceMonitor.namespacestringnilIf set create the ServiceMonitor in an alternate namespace.
serviceMonitor.pathstring"/metrics"
serviceMonitor.relabelingslist[]
serviceMonitor.schemestring"http"
serviceMonitor.scrapeTimeoutstring"30s"
serviceMonitor.service.portint9221Metrics service port to scrape
serviceMonitor.targetLabelslist[]
serviceMonitor.tlsConfigobject{}
tolerationslist[]
volumeMountslist[]Additional volumeMounts on the output Deployment definition.
volumeslist[]Additional volumes on the output Deployment definition.

Deploy prometheus-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 prometheus-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 chartprometheus-pve-exporter is pinned at v2.7.1 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