2v0-7123 Exam QuestionsBrowse all questions from this exam

2v0-7123 Exam - Question 31


Which Kubernetes object must be used to be able to upgrade a pod without disrupting services?

Show Answer
Correct Answer: D

To upgrade a pod without disrupting services in Kubernetes, the Deployment object should be used. Deployments manage ReplicaSets that ensure a specified number of pod replicas are running at any given time. When performing a rolling update, the Deployment controller gradually updates pods with new versions to enable zero downtime. This allows upgrades to be performed while ensuring that some instances of the application remain operational to serve user requests.

Discussion

3 comments
Sign in to comment
BilooooOption: A
Nov 17, 2023

I will go with A

vucuOption: D
Dec 20, 2023

Rolling updates allow Deployments' update to take place with zero downtime by incrementally updating Pods instances with new ones. The new Pods will be scheduled on Nodes with available resources. https://kubernetes.io/docs/tutorials/kubernetes-basics/update/update-intro/

Luke_Skywalker01Option: D
Feb 15, 2024

https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#creating-a-deployment