-
Notifications
You must be signed in to change notification settings - Fork 458
Description
Is this a request for help?: Yes
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Version of Helm and Kubernetes: k8s 1.27
Which chart: artifactory-ha
Which product license (Enterprise/Pro/oss): Enterprise
JFrog support reference (if already raised with support team):
What happened:
Using the statefullset to manage a PV/PVC is very limited since most of the fields of the statefullset cannot be updated. Every time we need to change anything related to the PVC we need to delete the statefullset and all the replicas are deleted bringing the service down.
Also updating the value of the storage via the helm chart does not update the size of the PVC, even after deleting and creating the STS again. In the following pictures we have the difference that ArgoCD is detecting:
And the error returned by Kubernetes
The only workaround we have at the moment is the following:
- Edit manually the size of the PVC in kubernetes and the size of the EBS in AWS will be updated
- Delete the STS
- Update the key
artifactory.persistence.size
in the helm chart - Apply the STS
This way Artifactory will have in the configuration the needed storage and will be adjusted to the manual changes on the PVC done in the cluster
The Storageclass associated allows volume expansion
What you expected to happen:
Artifactory should automatically modify the needed PVC settings to adjust the size of the storage. Maybe having a separate PVC manifest that could be updated instead of having it embeded in the STS?
How to reproduce it (as minimally and precisely as possible):
Modify the chart key artifactory.persistence.size
to any value different to the one first deployed
Anything else we need to know:
Maybe this issue is related: #1265
Thanks!