0.0.4-0.1.0 • Published 5 years ago

@helm-charts/banzaicloud-stable-instance-termination-handler v0.0.4-0.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

@helm-charts/banzaicloud-stable-instance-termination-handler

Instance Termination Handler Helm chart for Kubernetes

FieldValue
Repository Namebanzaicloud-stable
Chart Nameinstance-termination-handler
Chart Version0.0.4
NPM Package Version0.1.0
# Default values for instance-termination-handler
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

## The official Banzai Instance Termination Handler image, change tag to use a different version.
## https://hub.docker.com/r/banzaicloud/instance-termination-handler/tags/
##
image:
  repository: 'banzaicloud/instance-termination-handler'
  tag: '0.0.4'

  ## Specify an imagePullPolicy (Required)
  ## It's recommended to change this to 'Always' if the image tag is 'latest'
  ## ref: http://kubernetes.io/docs/user-guide/images/#updating-images
  imagePullPolicy: IfNotPresent

log:
  format: 'logfmt'
  level: 'info'

http:
  listenPort: 8081

termdetect:
  defaultSecondsUntilTermination: 30

termnotifier:
  triggerEnabled: true
  triggerEndpoint: '/terminate'

asgInstanceTermNotifier:
  enabled: true
  hookName: 'instance-termination-handler'
  hookTimeoutSeconds: 30
  drainWaitTimeoutSeconds: 120
  pollingIntervalSeconds: 10

asgInstanceDetacher:
  enabled: true
  asgLabelName: 'bzc:detach-asg-instance-on-termination'

metrics:
  enabled: true
  endpoint: '/metrics'

drainer:
  enabled: true
  drainWithTaint: true
  gracePeriodSeconds: -1
  timeout: 0

## Configure resource requests and limits
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
##
resources:
  requests:
    memory: 256Mi
    cpu: 120m

nodeSelector: {}
tolerations:
  - operator: Exists
affinity: {}
extraAnnotations: {}

Instance termination handler

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