You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What would you like to be added:
Question: When CloneSet volumeClaimTemplates and Image changed, Pod will in-place update, then volumeClaimTemplates not updated to Pod volumes, because the volumes field is only recalculated when the Pod is created.
What happened:
Create CloneSet with volumeClaimTemplates, as follows:
Update cloneSet, but pods only in-place update and pvc capacity don't change.
% kubectl get clonesets
NAME DESIRED UPDATED UPDATED_READY READY TOTAL AGE
web 2 2 2 2 2 2m27s
% kubectl get pods
NAME READY STATUS RESTARTS AGE
web-c48gr 1/1 Running 1 (16s ago) 2m33s
web-mjmvl 1/1 Running 1 (23s ago) 2m33s
% kubectl get pvc
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
www-data-web-c48gr Bound pvc-4100c7c4-0fb0-41b6-90e1-696cfdd970c8 1Gi RWO standard 2m38s
www-data-web-mjmvl Bound pvc-256c0b60-3cee-4da5-ba66-5530ce153b1b 1Gi RWO standard 2m38s
Goals
Image and volumeClaimTemplates changed, ReCreate update Pod.
Non-Goals
Only volumeClaimTemplates changed, will not trigger Pod update
@hzliangbin thanks, however we have some internal user problem related to this issue in Alibaba, so we'd like to work on this. You can start with other issue
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
What would you like to be added:
Question: When CloneSet volumeClaimTemplates and Image changed, Pod will in-place update, then volumeClaimTemplates not updated to Pod volumes, because the volumes field is only recalculated when the Pod is created.
What happened:
Goals
Non-Goals
Solution
The text was updated successfully, but these errors were encountered: