Skip to content

A script that drains and uncordons nodes of a Kubernetes cluster depending on their status.

Notifications You must be signed in to change notification settings

marczahn/k8s-drainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

K8s-drainer

Sometimes for whatever reason K8s does not drain nodes when they remain not ready.

This script looks for not ready but not drained nodes and drains them. Vice versa if there are nodes ready but still drained they get uncordon'd.

The script can be run as a cron job or manually.

About

A script that drains and uncordons nodes of a Kubernetes cluster depending on their status.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages