Difference between revisions of "Kubernetes.io/gce-pd"
Jump to navigation
Jump to search
(9 intermediate revisions by 2 users not shown) | |||
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 | ||
− | Type: GCEPersistentDisk (a Persistent Disk resource in Google Compute Engine) | + | |
+ | [[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 20: | Line 27: | ||
name: slow | name: slow | ||
provisioner: kubernetes.io/gce-pd | provisioner: kubernetes.io/gce-pd | ||
− | parameters: | + | [[parameters:]] |
type: [[pd-standard]] | type: [[pd-standard]] | ||
zone: us-central1-a | zone: us-central1-a | ||
Line 29: | Line 36: | ||
metadata: | metadata: | ||
name: slow | name: slow | ||
− | provisioner: kubernetes.io/gce-pd | + | [[provisioner:]] kubernetes.io/gce-pd |
parameters: | parameters: | ||
type: pd-standard | type: pd-standard | ||
Line 47: | 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
- 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 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
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]
- Kubernetes provisioner:
kubernetes.io/gce-pd, kubernetes.io/aws-ebs, pd.csi.storage.gke.io, k8s.io/minikube-hostpath
,ExternalProvisioning
,kubectl get provisioner, kubectl describe provisioner, kubectl patch provisioner
- Kubernetes storage, storage classes, PersistentVolume (PV), PVC, CSI,
kind: StorageClass, kind: PersistentVolumeClaim, kind: PersistentVolume
,kubectl [ get | describe | edit ] pvc
,volumeClaimTemplates:
,kubectl patch pv
,FailedMount
, Volume Expansion, Volume Cloning, snapshots, ExtraVolumes, NotTriggerScaleUp,volumePVCDataSource, AllowVolumeExpansion
, EKS storage, provisioner, Storage Capacity Tracking,VolumeBinding, VolumeClaimTemplate, storage.k8s.io
, CKA Storage, DoKC, EmptyDir, Volume populators,storageclass.kubernetes.io
Advertising: