The PersistentVolumeClaim XXX is invalid

From wikieduonline
Revision as of 12:32, 15 January 2024 by Welcome (talk | contribs) (Created page with " The PersistentVolumeClaim "yoursstorage" is invalid: * spec: Forbidden: spec is immutable after creation except resources.requests for bound claims core.PersistentVolu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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: