After resizing PV/PVC in AKS using standard LRS storage class, Artifactory > monitoring > storage section still shows old storage space. How to fix? After resizing PV/PVC in AKS using standard LRS storage class, Artifactory > monitoring > storage section still shows old storage space. How to fix? kubernetes kubernetes

After resizing PV/PVC in AKS using standard LRS storage class, Artifactory > monitoring > storage section still shows old storage space. How to fix?


To resize the PVC, you can edit the PVC to change the storage request to ask for more space. But to make the update works, here shows the way:

File system expansion must be triggered by terminating the pod usingthe volume. More specifically:

Edit the PVC to request more space. Once underlying volume has beenexpanded by the storage provider, then the PersistentVolume objectwill reflect the updated size and the PVC will have theFileSystemResizePending condition.

And here is the screenshot of my test:

before change:

enter image description here

after change, but before recreate pod:

enter image description here

after recreate pod:

enter image description here