Difference between revisions of "The PersistentVolumeClaim XXX is invalid"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 21: | Line 21: | ||
} | } | ||
− | * 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}} |
Latest revision as of 11:51, 8 February 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[edit]
See also[edit]
Advertising: