Facing Issue's in PVC

Error: UPGRADE FAILED: cannot patch “shared-data” with kind PersistentVolumeClaim: PersistentVolumeClaim “shared-data” is invalid: [metadata.annotations.volume.beta.kubernetes.io/storage-class: Invalid value: “aws-efs”: field is immutable, spec.resources.requests.storage: Forbidden: field can not be less than previous value]

I am seeing the above error and not sure what is the actual issue. We are using Kubernetes in the block chain and I am new with the Kubernetes as well. Can anyone please help me with troubleshooting steps. I have created a new pv and pvc but still seeing the same error

It would help to see your YAML here, set off in

code blocks

This is the key here. Kubernetes is telling you that you cannot change this value. If it’s wrong, you have to delete the resource and start over.