🔥 3-day streak
Kubernetes and Cloud Native Associate75 / 142
Question 75 of 142

A developer maintains a Deployment defined in a file named app.yaml. They previously ran 'kubectl create -f app.yaml' to deploy it. Now they edit app.yaml to change the replica count and container image, and want to update the running Deployment while preserving any fields the API server or controllers added since creation. Which command should they use?

Reviewed for accuracy · Report an issueNext question