Add taint to node kubectl
Prevent pods without matching toleration from scheduling on node
kubectl taint nodes <node> key=value:NoSchedule
more kubectl
all 73 commands →
Remove taint from node
kubectl taint nodes <node> key=value:NoSchedule-
Set image on deployment
kubectl set image deployment/<name> <container>=image:tag -n <ns>
List rollout history
kubectl rollout history deployment/<name> -n <ns>
Restart deployment (rolling)
kubectl rollout restart deployment/<name> -n <ns>
Create namespace
kubectl create namespace <ns>