dustinrouillard / kube-node-oos-controller

Applies the out-of-service node taint whenever the node is "unreachable"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kubernetes OOS Controller

This will watch for nodes to become unreachable, by the taint node.kubernetes.io/unreachable, and then apply the node.kubernetes.io/out-of-service taint with value set to nodeshutdown with an effect of NoExecute.

Which will make kubernetes do the following:

  • Remove any volume attachments from the lost node
  • Delete the old pods on the lost node forcefully

This allows any statefulsets or pods with a mounted pvc to be recreated.

About

Applies the out-of-service node taint whenever the node is "unreachable"


Languages

Language:Rust 86.8%Language:Dockerfile 13.2%