instance-termination-handler
by Helm
Instance Termination Handler Helm chart for Kubernetes
About this chart
Instance termination handler
tl;dr
$ helm repo add banzaicloud-stable http://kubernetes-charts.banzaicloud.com/branch/master
$ helm repo update
$ helm install banzaicloud-stable/instance-termination-handler
Introduction
This chart bootstraps a Banzai Cloud Instance Termination Handler deployment to a Kubernetes cluster using the Helm package manager.
Installing the Chart
To install the chart with the release name my-release:
$ helm install --name my-release banzaicloud-stable/instance-termination-handler
The command deploys Instance Termination Handler on the Kubernetes cluster with 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 available configuration values defined in the values.yaml file.
Specify each parameter using the --set key=value[,key=value] argument to helm install.
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-incubator/instance-termination-handler
Tip: You can use the default values.yaml
Deploy instance-termination-handler with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has instance-termination-handler 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 chartinstance-termination-handler is pinned at v0.1.3 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