Kubernetes
Easy
Commands
After maintenance on a drained Kubernetes node, which command lets the scheduler place new pods on it again?
Select your answer:
Show answer and explanation
Answer: kubectl uncordon <node>
Explanation
kubectl drain cordons the node before evicting pods, which marks it unschedulable. kubectl uncordon removes that mark so the scheduler can use the node again. It doesn't move existing pods back; the node only receives new pods.
More easy Kubernetes questions
- Which kubectl command is used to view the logs of a pod?
- What is a Pod in Kubernetes?
- What is the purpose of a Kubernetes Service?
- Which command would you use to create a deployment from a YAML file?
- Which kubectl command would you use to get detailed information about a specific pod?
- What is a Kubernetes Namespace used for?