Difference between revisions of "Kind: PersistentVolumeClaim"

From wikieduonline
Jump to navigation Jump to search
Line 25: Line 25:
 
* <code>[[kubectl describe pvc my grafana pvc volume]]</code>
 
* <code>[[kubectl describe pvc my grafana pvc volume]]</code>
 
* [[Kubernetes Finalizers]]
 
* [[Kubernetes Finalizers]]
* [[0/3 nodes are available: 3 persistentvolumeclaim "storagedbtemp" bound to non-existent persistentvolume ""]]
+
* [[0/3 nodes are available: 3 persistentvolumeclaim "yourstorage" bound to non-existent persistentvolume]]
  
 
== See also ==
 
== See also ==

Revision as of 11:55, 12 January 2024

Kubernetes Persistent Volume Claim (PVC)

kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: myclaim
spec:
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 1Gi # specify new size here


Errors

error: error validating "yourfile": error validating data: 

[ ValidationError(PersistentVolumeClaim.metadata.finalizers): invalid type for 
io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta.finalizers: got "string", expected "array", 

ValidationError(PersistentVolumeClaim): unknown field "name" in 
io.k8s.api.core.v1.PersistentVolumeClaim ]; if you choose to ignore these errors, turn 

validation off with --validate=false

Related

See also

Advertising: