aws-node-termination-handler

module
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2020 License: Apache-2.0

README

GitHub go.mod Go version License Go Report Card Build Status codecov Docker Pulls

AWS Node Termination Handler

The AWS Node Termination Handler is an operational DaemonSet built to run on any Kubernetes cluster using AWS EC2 Spot Instances. When a user starts the termination handler, the handler watches the AWS instance metadata service for spot instance interruptions within a customer's account. If a termination notice is received for an instance that’s running on the cluster, the termination handler begins a multi-step cordon and drain process for the node.

You can run the termination handler on any Kubernetes cluster running on AWS, including clusters created with Amazon Elastic Kubernetes Service.

Getting Started

The termination handler consists of a ServiceAccount, ClusterRole, ClusterRoleBinding, and a DaemonSet. All four of these Kubernetes constructs are required, and pod access to instance metadata is required for the termination handler to run properly.

To install:

helm repo add eks https://aws.github.io/eks-charts
helm install --name aws-node-termination-handler --namespace kube-system eks/aws-node-termination-handler

For helm3:
helm install aws-node-termination-handler --namespace kube-system eks/aws-node-termination-handler
Helm

The helm chart for this project is located in the eks-charts repo. For instructions on how to install/configure the chart see the project's README.

Building

For build instructions please consult BUILD.md.

Communication

  • Found a bug? Please open an issue.
  • Have a feature request? Please open an issue.
  • Want to contribute? Please submit a pull request.
  • Ask a question or chat with us in the Kubernetes Slack #provider-aws channel

Contributing

Contributions are welcome! Please read our guidelines and our Code of Conduct

License

This project is licensed under the Apache-2.0 License.

Directories

Path Synopsis
pkg
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL