Difference between revisions of "The PersistentVolumeClaim XXX is invalid"
Jump to navigation
Jump to search
m (Welcome moved page The PersistentVolumeClaim X to The PersistentVolumeClaim XXX is invalid) |
|||
Line 20: | Line 20: | ||
... // 3 identical fields | ... // 3 identical fields | ||
} | } | ||
− | + | ||
* 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 | ||
== See also == | == See also == |
Revision as of 12:33, 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
See also
Advertising: