Difference between revisions of "The PersistentVolumeClaim XXX is invalid"
Jump to navigation
Jump to search
Line 23: | Line 23: | ||
* spec.resources.requests.storage: Forbidden: field can not be less than previous value | * spec.resources.requests.storage: Forbidden: field can not be less than previous value | ||
− | + | == Related == | |
+ | * [[Kubernetes PVC resize: kubectl patch pvc]] | ||
== See also == | == See also == | ||
* {{PVC}} | * {{PVC}} |
Revision as of 12:36, 15 January 2024
The PersistentVolumeClaim "yoursstorage" is invalid: * spec: Forbidden: spec is immutable after creation except resources.requests for bound claims core.PersistentVolumeClaimSpec{ AccessModes: {"ReadWriteOnce"}, Selector: nil, Resources: core.ResourceRequirements{ Limits: nil, - Requests: core.ResourceList{ - s"storage": {i: resource.int64Amount{value: 1073741824}, s: "1Gi", Format: "BinarySI"}, - }, + Requests: core.ResourceList{ + s"storage": {i: resource.int64Amount{value: 5368709120}, s: "5Gi", Format: "BinarySI"}, + }, }, VolumeName: "", StorageClassName: &"yourclassname", ... // 3 identical fields } * spec.resources.requests.storage: Forbidden: field can not be less than previous value
Related
See also
Advertising: