kubectl-uncordon
marks a node as schedulable
TLDR
Uncordon node
$ kubectl uncordon [node-name]
Uncordon multiple nodes$ kubectl uncordon [node1] [node2]
Uncordon with selector$ kubectl uncordon -l [key=value]
Dry run$ kubectl uncordon [node-name] --dry-run=client
SYNOPSIS
kubectl uncordon [options] node
DESCRIPTION
kubectl uncordon marks a node as schedulable. It reverses the effect of cordon.The command is used after node maintenance. New pods can be scheduled once uncordoned.
PARAMETERS
NODE
Node name to uncordon.-l SELECTOR
Label selector.--dry-run MODE
Simulate operation.--help
Display help information.
INSTALL
sudo apt install kubectl
sudo pacman -S kubectl
sudo apk add kubectl
brew install kubectl
nix profile install nixpkgs#kubectl
CAVEATS
Subcommand of kubectl. Only marks schedulable. Pods don't automatically move back.
HISTORY
kubectl uncordon provides node scheduling restoration for Kubernetes after maintenance.
SEE ALSO
kubectl(1), kubectl-cordon(1), kubectl-drain(1)