LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

kubectl-uncordon

marks a node as schedulable

TLDR

Uncordon node
$ kubectl uncordon [node-name]
copy
Uncordon multiple nodes
$ kubectl uncordon [node1] [node2]
copy
Uncordon with selector
$ kubectl uncordon -l [key=value]
copy
Dry run
$ kubectl uncordon [node-name] --dry-run=client
copy

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.

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

Copied to clipboard
Kai