gke-node-termination-handler

by joaquinito2051

Helm chartv0.1.1App 1.0

This helm chart provides an adapter for translating GCE node termination events to graceful pod terminations in Kubernetes.

About this chart

gke-node-termination-handler

gke-node-termination-handler is a tool for gracefully draining preemptible GCP nodes before Google automatically shuts them down.

Installation

We recommend installing gke-node-termination-handler in its own namespace.

Configuration

ParameterDescriptionDefault
image.repositoryImage repok8s.gcr.io/gke-node-termination-handler@sha256
image.tagImage tagaca12d17b222dfed755e28a44d92721e477915fb73211d0a0f8925a1fa847cca
image.pullPolicyImage pull policyIfNotPresent
daemonset.updateStrategy.typeDaemonset update strategy typeRollingUpdate
resources.limits.cpuDaemonset CPU limit150m
resources.limits.memoryDaemonset memory limit30Mi
resources.requests.cpuDaemonset CPU request150m
resources.requests.memoryDaemonset memory limit30Mi

Deploy gke-node-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 gke-node-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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartgke-node-termination-handler is pinned at v0.1.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