In a StatefulSet's rolling update, when partition is set to 3, which pods are eligible to be updated first?

Prepare for the KCNA Certification Test. Study with flashcards, multiple-choice questions, and detailed explanations to enhance your understanding of Kubernetes Cloud Native concepts. Ace your exam!

Multiple Choice

In a StatefulSet's rolling update, when partition is set to 3, which pods are eligible to be updated first?

Explanation:
Partition in a StatefulSet rolling update decides which pods are allowed to update and which are paused. Pods with ordinal less than the partition are held back, while pods with ordinal equal to or greater than the partition are eligible to update. With the partition set to 3, only pods with indices 3 and higher can be updated first, while pods 0, 1, and 2 stay dormant until the partition changes or the higher-index pods finish updating. In a typical update, updates within that eligible group proceed in descending ordinal order, starting with the highest index in that range.

Partition in a StatefulSet rolling update decides which pods are allowed to update and which are paused. Pods with ordinal less than the partition are held back, while pods with ordinal equal to or greater than the partition are eligible to update. With the partition set to 3, only pods with indices 3 and higher can be updated first, while pods 0, 1, and 2 stay dormant until the partition changes or the higher-index pods finish updating. In a typical update, updates within that eligible group proceed in descending ordinal order, starting with the highest index in that range.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy