Konubinix' opinionated web of thoughts

Kubernetes Remove Taint

fleeting

kubernetes,

if we want to taint a node we use kubectl taint as follows

https://pet2cattle.com/2021/09/k8s-node-untaint

We can use kubectl taint but adding an hyphen at the end to remove the taint (untaint the node)

https://pet2cattle.com/2021/09/k8s-node-untaint

$ kubectl taint nodes minikube application=example:NoSchedule- node/minikubee untainted

https://pet2cattle.com/2021/09/k8s-node-untaint

If we don’t know the command used to taint the node we can use kubectl describe node to get the exact taint we’ll need to use to untaint the node

https://pet2cattle.com/2021/09/k8s-node-untaint