Remove a taint from a node

Removes the taint; all the magic is in the dash at the end

kubectl taint nodes <node> key=value:NoSchedule-

tool
kubectl73 commands
tags
nodes

More kubectl commands

  • 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

  • kubectl set resources deployment/<name> -c <container> --requests=cpu=100m,memory=128Mi --limits=cpu=500m,memory=512Mi -n <ns>

    Changes requests and limits of a running deployment without editing YAML

all 73 kubectl commands