How to taint k8s nodes based on a custom condition

6/17/2019

We are using CNI plugins bridge/host-local on nodes with limited pool of IPs which can be exhaused before the cpu/mem are exhaused.

In such case, how can I ensure the pods are not scheduled to the pods where IPs are exhaused but the resources are still available.

Is there any way to taint the nodes once the IPs are exhausted.

-- Purushotham Kumar
kube-scheduler
kubernetes

0 Answers