Editing Kind: PersistentVolumeClaim

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{lc}}
+
{{PVC expansion}}
[[Kubernetes Persistent Volume Claim (PVC)]]
 
* https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.29/#persistentvolumeclaim-v1-core
 
* https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.29/#persistentvolumeclaimspec-v1-core
 
 
 
== Examples ==
 
 
 
{{kind: PersistentVolumeClaim}}
 
 
 
{{kind: PersistentVolumeClaim with class}}
 
 
 
 
 
 
 
Including PV name:
 
apiVersion: "v1"
 
kind: "PersistentVolumeClaim"
 
metadata:
 
  name: "claimapp80"
 
spec:
 
  accessModes:
 
    - "ReadWriteOnce"
 
  resources:
 
    requests:
 
      storage: "1Gi"
 
  [[volumeName]]: "app080"
 
  
[[Expansion]]:
 
{{PVC expansion}}
 
  
* [[StorageClassName]]
+
* [[Kubernetes Persistent Volume Claim (PVC)]]
 
* <code>[[VolumeClaimTemplates:]]</code>
 
* <code>[[VolumeClaimTemplates:]]</code>
  
 
* <code>[[kubectl apply -f your_new_pvc.yml]]</code>
 
* <code>[[kubectl apply -f your_new_pvc.yml]]</code>
 
== 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]]
 
 
 
 
<code>[[0/3 nodes are available: 3 persistentvolumeclaim "yourstorage" bound to non-existent persistentvolume]]</code>
 
  
 
== Related ==
 
== Related ==
 
* [[CSI Volume Cloning]]
 
* [[CSI Volume Cloning]]
* <code>[[kubectl describe pvc]]</code>
+
* [[kubectl describe pvc]]
* <code>[[kubectl describe pvc my grafana pvc volume]]</code>
 
* [[Kubernetes Finalizers]]
 
* <code>[[StorageClassName]]</code>
 
  
 
== See also ==
 
== See also ==

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: