-
Notifications
You must be signed in to change notification settings - Fork 46
Description
Hi
In AKS it is possible to extend the size of the persistent volumes just by changing the PVC value of “resources.requests.storage”.
After a little while persistent volumes are extended with the new size.
When I try so use the helm chart to update the PVC through volumeClaimTemplates:, using the override:
persistence:
qmPVC:
enable:
true
size:
12Gi
I get the following error:
"Error: UPGRADE FAILED: cannot patch "nativeha-s1-ibm-mq" with kind StatefulSet: StatefulSet.apps "nativeha-s1-ibm-mq" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden"
It seems to be a restriction with helm that volumeClaimTemplates can’t be changed?
If I do not use the helm chart to maintain the PVC’s, the helm chart will be out of sync with the live values. Will that be a problem?
Can I circumvent the problem somehow ?
Rgds
John Barbesgaard