Difference between revisions of "Kubernetes.io/gce-pd"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by 2 users not shown)
Line 10: Line 10:
 
  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
Line 54: Line 54:
 
* <code>[[ExpandInUsePersistentVolumes]]</code>
 
* <code>[[ExpandInUsePersistentVolumes]]</code>
 
* [[xfs]]
 
* [[xfs]]
 +
* <code>[[AllowVolumeExpansion]]</code>
 +
* <code>[[k8s.io/minikube-hostpath]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{Kubernetes provisioner}}
 
* {{Kubernetes storage}}
 
* {{Kubernetes storage}}
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

Latest revision as of 20:31, 8 December 2022


kubectl describe pv | grep Type
   Type:       GCEPersistentDisk (a Persistent Disk resource in Google Compute Engine)


kubectl get storageclass
NAME                 PROVISIONER            RECLAIMPOLICY   VOLUMEBINDINGMODE   ALLOWVOLUMEEXPANSION   AGE
standard (default)   kubernetes.io/gce-pd   Delete          Immediate           false                  3y220d
kubectl get storageclass
NAME                 PROVISIONER            RECLAIMPOLICY   VOLUMEBINDINGMODE   ALLOWVOLUMEEXPANSION   AGE
standard (default)   kubernetes.io/gce-pd    Delete          Immediate              true                   461d

ALLOWVOLUMEEXPANSION

gcePersistentDisk	1.11


kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  name: slow
provisioner: kubernetes.io/gce-pd
parameters:
  type: pd-standard
  zone: us-central1-a
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: slow
provisioner: kubernetes.io/gce-pd
parameters:
  type: pd-standard
  fstype: ext4
  replication-type: none

Changelog[edit]

  • v1.21 Newly provisioned PVs by gce-pd will no longer have the beta FailureDomain label. gce-pd volume plugin will start to have GA topology label instead. (#98700, @Jiawei0227) [SIG Cloud Provider, Storage and Testing]

ExpandInUsePersistentVolumes. It is supported by the in-tree volume plugins GCE-PD, AWS-EBS, Cinder, and Ceph RB

Related[edit]

See also[edit]

Advertising: