Intermediate
Kubernetes
Q74 / 100
What does "kubectl edit deployment <name>" do?
Correct! Well done.
Incorrect.
The correct answer is A) Opens the deployment's current configuration in a text editor; saving changes applies them directly to the live resource
A
Correct Answer
Opens the deployment's current configuration in a text editor; saving changes applies them directly to the live resource
Explanation
"kubectl edit" opens the live resource's configuration in your default editor; upon saving, the changes are validated and applied directly to the cluster, similar to "apply" but interactive.
Progress
74/100