prometheus-spot-termination-exporter

by Delivery Hero

Helm chartv0.2.16App 0.0.1Verified publisher

Spot instance termination exporter for Prometheus

About this chart

prometheus-spot-termination-exporter

Spot instance termination exporter for Prometheus

Homepage: https://github.com/banzaicloud/spot-termination-exporter

How to install this chart

A simple install with default values, latest chart version and generated name:

helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/prometheus-spot-termination-exporter

To install a specific version of this chart:

helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/prometheus-spot-termination-exporter --version 0.2.16

To install the chart with the release name my-release:

helm install my-release oci://ghcr.io/deliveryhero/helm-charts/prometheus-spot-termination-exporter

To install with some set values:

helm install my-release oci://ghcr.io/deliveryhero/helm-charts/prometheus-spot-termination-exporter --set values_key1=value1 --set values_key2=value2

To install with custom values file:

helm install my-release oci://ghcr.io/deliveryhero/helm-charts/prometheus-spot-termination-exporter -f values.yaml

Source Code

Values

KeyTypeDefaultDescription
envlist[]Extra environment variables for the exporter container
extraArgslist[]
image.imagePullPolicystring"IfNotPresent"
image.repositorystring"banzaicloud/spot-termination-exporter"
image.tagstring"0.0.1"
initContainerslist[]
livenessProbe.failureThresholdint6
livenessProbe.httpGet.pathstring"/"
livenessProbe.httpGet.portstring"http"
livenessProbe.initialDelaySecondsint120
livenessProbe.timeoutSecondsint5
logLevelstring"debug"
metadataEndpointstring"http://169.254.169.254/latest/meta-data/"
nodeSelector."eks.amazonaws.com/capacityType"string"SPOT"
portint9189
prometheus.metricsPathstring"/metrics"
prometheus.scrapestring"true"
readinessProbe.httpGet.httpHeaderslist[]Custom headers for the readiness probe request, e.g. [{name: X-Probe, value: "1"}]
readinessProbe.httpGet.pathstring"/"
readinessProbe.httpGet.portstring"http"
readinessProbe.initialDelaySecondsint30
readinessProbe.periodSecondsint5
readinessProbe.timeoutSecondsint3
resourcesobject{}
volumeMountslist[]
volumeslist[]

Maintainers

NameEmailUrl
sietevecesmalhttps://github.com/sietevecesmal

Chart source and versions

Chart source: github.com/deliveryhero/helm-charts/prometheus-spot-termination-exporter

Older chart versions: github.com/deliveryhero/helm-charts/pkgs/container/helm-charts/prometheus-spot-termination-exporter

Deploy prometheus-spot-termination-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-spot-termination-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-spot-termination-exporter is pinned at v0.2.16 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