Editing Kubernetes.io/gce-pd

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}}
 
{{lc}}
 
* https://kubernetes.io/docs/concepts/storage/storage-classes/#gce-pd
 
* https://kubernetes.io/docs/concepts/storage/storage-classes/#gce-pd
* Git: https://github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver
 
 
 
[[kubectl describe pv]] | grep Type
 
    Type:      [[GCEPersistentDisk]] (a Persistent Disk resource in Google Compute Engine)
 
  
  
 
  kubectl get storageclass
 
  kubectl get storageclass
 
  NAME                [[PROVISIONER]]            RECLAIMPOLICY  VOLUMEBINDINGMODE  [[ALLOWVOLUMEEXPANSION]]  AGE
 
  NAME                [[PROVISIONER]]            RECLAIMPOLICY  VOLUMEBINDINGMODE  [[ALLOWVOLUMEEXPANSION]]  AGE
  standard (default)  [[kubernetes.io/]]gce-pd  Delete          Immediate          false                  3y220d
+
  standard (default)  kubernetes.io/gce-pd  Delete          Immediate          false                  3y220d
  
 
  kubectl get storageclass
 
  kubectl get storageclass
 
  NAME                [[PROVISIONER]]            RECLAIMPOLICY  VOLUMEBINDINGMODE  [[ALLOWVOLUMEEXPANSION]]  AGE
 
  NAME                [[PROVISIONER]]            RECLAIMPOLICY  VOLUMEBINDINGMODE  [[ALLOWVOLUMEEXPANSION]]  AGE
 
  standard (default)  kubernetes.io/gce-pd    Delete          Immediate              true                  461d
 
  standard (default)  kubernetes.io/gce-pd    Delete          Immediate              true                  461d
 
[[ALLOWVOLUMEEXPANSION]]
 
* https://kubernetes.io/docs/concepts/storage/storage-classes/#allow-volume-expansion
 
gcePersistentDisk [[1.11]]
 
  
  
Line 27: Line 18:
 
   name: slow
 
   name: slow
 
  provisioner: kubernetes.io/gce-pd
 
  provisioner: kubernetes.io/gce-pd
[[parameters:]]
 
  type: [[pd-standard]]
 
  zone: us-central1-a
 
 
* https://kubernetes.io/docs/concepts/storage/storage-classes/#gce-pd
 
apiVersion: storage.k8s.io/v1
 
kind: StorageClass
 
metadata:
 
  name: slow
 
[[provisioner:]] kubernetes.io/gce-pd
 
 
  parameters:
 
  parameters:
 
   type: pd-standard
 
   type: pd-standard
   fstype: ext4
+
   zone: us-central1-a
  replication-type: none
 
  
 
== Changelog ==
 
== Changelog ==
Line 46: Line 26:
  
 
* https://kubernetes.io/blog/2018/07/12/resizing-persistent-volumes-using-kubernetes/
 
* https://kubernetes.io/blog/2018/07/12/resizing-persistent-volumes-using-kubernetes/
<code>ExpandInUsePersistentVolumes</code>. It is supported by the in-tree volume plugins GCE-PD, AWS-EBS, Cinder, and Ceph RB
+
ExpandInUsePersistentVolumes. It is supported by the in-tree volume plugins GCE-PD, AWS-EBS, Cinder, and Ceph RB
  
 
== Related ==
 
== Related ==
Line 53: Line 33:
  
 
* <code>[[ExpandInUsePersistentVolumes]]</code>
 
* <code>[[ExpandInUsePersistentVolumes]]</code>
* [[xfs]]
 
* <code>[[AllowVolumeExpansion]]</code>
 
* <code>[[k8s.io/minikube-hostpath]]</code>
 
  
 
== See also ==
 
== See also ==
* {{Kubernetes provisioner}}
 
 
* {{Kubernetes storage}}
 
* {{Kubernetes storage}}
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

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: