/kubernetes-drain-controller

Kubernetes controller to drainnot high available pods from a Kubernetes node in a safe manner

Primary LanguageTypeScript

kubernetes-drain-controller

This controller drains not high available pods from an unschedulable Kubernetes node in a safe manner. It always wants to have at least 1 replica available.

Build

docker build -t kubernetes-drain-controller .

Develop with Docker

docker-compose up --build

Develop without Docker

yarn run watch
yarn run debug