Score:0

Deployment: old pod deletion selection

cn flag

Which of the pods is killed in Deployment during rollout?

Eg: there is a deployment with replicas: 2 and maxUnavailable: 1.

When you deploy a new version of the manifest 1 pod is killed while new version (new 2 pods) is rolled out. So which of the 2 is picked?

Score:0
US flag

As the new Pods in new version come online and are marked available, any of the two pods can be killed by the Deployment controller upon rollout of the new version as they are exact replicas of the Deployment version 1

zerkms avatar
cn flag
"any of the two pods can be killed by the Deployment controller" --- can this be confirmed by documentation or source code? My question is really - how exactly kubernetes makes a decision.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.