spot-price-exporter
by Helm
A Helm chart for Kubernetes
About this chart
AWS Spot price exporter Chart
AWS Spot price exporter Prometheus exporter for AWS spot prices..
tl;dr:
Add banzai-stable chart repo from specific branch
$ helm repo add banzaicloud-stable http://kubernetes-charts.banzaicloud.com/branch/[branch-name]
Introduction
This chart bootstraps an AWS Spot price exporter deployment on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.8+ with Beta APIs enabled
Installing the Chart
To install the chart with the release name my-release:
$ helm install --name my-release banzaicloud-stable/spot-price-exporter
The command deploys AWS Spot price exporter on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
The following tables lists the configurable parameters of this chart and their default values.
| Parameter | Description | Default |
|---|---|---|
image.repository | Container image repository | `banzaicloud/spot-price-exporter |
image.tag | Container image tag | 0.0.1 |
image.pullPolicy | Container pull policy | IfNotPresent |
podAnnotations | The kubernetes pod annotations | nil |
auth.awsAccessKeyId | Amazon Access Key ID | "" |
auth.awsSecretAccessKey | Amazon Secret Access Key | "" |
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example:
$ helm install --name my-release -f values.yaml banzaicloud-stable/spot-price-exporter
Tip: You can use the default values.yaml
Deploy spot-price-exporter with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has spot-price-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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartspot-price-exporter is pinned at v0.1.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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