During a rolling update of a civic permits API, several ReplicaSets appear under the same app. As an application developer, which resource should you normally edit to change the desired replica count and container image?
Select an answer to reveal the explanation.
Short Explanation
The Deployment is the steering wheel; ReplicaSets are the gears underneath. You turn the wheel (replicas, image, template)—Kubernetes shifts the gears so you do not hand-edit each ReplicaSet.
Full Explanation
A Deployment manages one or more ReplicaSets to implement declarative updates. Developers change the Deployment’s replicas and pod template; the controller creates or scales ReplicaSets and replaces Pods. Hand-editing ReplicaSets or individual Pods fights the controller and is not the usual application workflow. DaemonSets are a different workload kind for node-local agents.