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

Study for the Kubernetes Cloud Native Associate (KCNA) Certification 1 Test. Master the core concepts of Kubernetes with multiple-choice questions and detailed explanations. Prepare and boost your confidence for the KCNA certification 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