spec.resources.requests.storage: Forbidden: field can not be less than previous value | Kubernetes

This issue might occur when creating in persistent volume pods in kubernetes cluster and the reason is you might have already created a persistent volume that has different value than the current storage requested for persistent volume claim. Generally this occurs when you are requesting for lesser storage volume whereas the already created one has a higher value.

To resolve this issue you can do either of the following

  • Delete the previous storage volume from your Kubernetes cluster and recreating the persistent storage volume
  • Reset the Kubernetes cluster if you are working on your local system

After doing the above steps, I was able to successfully create the storage volume again without any issues.

You may also like...