
Answer-first summary for fast verification
Answer: 3. .spec.template
A Deployment's rollout is triggered exclusively when the Deployment's Pod template is modified. The correct file name that would need to be changed is `.spec.template`, as it serves as the deployment template. For more details, refer to the Kubernetes documentation on deployments: [https://kubernetes.io/docs/concepts/workloads/controllers/deployment/](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
When deploying an application on a Kubernetes cluster, a Deployment's rollout is initiated only if the Deployment's pod template is modified, such as updates to labels or container images. Scaling the Deployment does not trigger a rollout. Which file name needs to be altered to initiate a rollout? (Select One)
A
B
C
D
No comments yet.