Statefulsets ordered resources PVC expectation #9526
Answered
by
blackpiglet
gmilamitrs
asked this question in
Community support Q&A
-
|
I have noticed that when setting pods in the ordered resources, their related PVCs are backed up in the same order. If setting the stateful sets as the ordered resources, PVCs do not follow the same ordering. Is this expected? |
Beta Was this translation helpful? Give feedback.
Answered by
blackpiglet
Feb 6, 2026
Replies: 1 comment 3 replies
-
|
This is expected. When the pod is backed up in order, because each mounted PVC is returned with the pod, the mounted PVCs are backed up in the same order with the pod. If the statefulset is ordered, then the pods of the statefulset's order are not generated. So the PVC cannot follow the previous order. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's correct. The order of statefulsets doesn't guarantee the order of their created pods.
For Velero, it doesn't recognize the relation between the statefulesets and the pods.