Linux command
kubectl-uncordon 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
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
说明
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.
参数
- -l _SELECTOR_
- Label selector.
- --dry-run _MODE_
- Simulate operation.
- --help
- Display help information.
FAQ
What is the kubectl-uncordon command used for?
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.
How do I run a basic kubectl-uncordon example?
Run `kubectl uncordon [node-name]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -l _SELECTOR_ do in kubectl-uncordon?
Label selector.