Add a taint to a node
Pods without a matching toleration will not be scheduled on this node
kubectl taint nodes <node> key=value:NoSchedule
More kubectl commands
-
kubectl taint nodes <node> key=value:NoSchedule-Removes the taint; all the magic is in the dash at the end
-
kubectl set image deployment/<name> <container>=image:tag -n <ns>Starts a rolling update with a new container image, no YAML editing
-
kubectl rollout history deployment/<name> -n <ns>Lists all revisions with the change cause; the cause is filled only with --record or an annotation
-
kubectl rollout restart deployment/<name> -n <ns>Restarts pods one by one without downtime and without changing the spec
-
kubectl create namespace <ns>Creates a new namespace; with --dry-run=client | apply it becomes idempotent