Difference between revisions of "Google Compute Engine Persistent Disk CSI Driver"

From wikieduonline
Jump to navigation Jump to search
Line 13: Line 13:
 
  [[provisioner:]] pd.csi.storage.gke.io
 
  [[provisioner:]] pd.csi.storage.gke.io
 
  volumeBindingMode: WaitForFirstConsumer
 
  volumeBindingMode: WaitForFirstConsumer
  allowVolumeExpansion: true
+
  [[allowVolumeExpansion]]: true
 
  parameters:
 
  parameters:
 
   type: pd-balanced
 
   type: pd-balanced

Revision as of 12:31, 4 July 2022

gcloud container clusters create YOUR-CLUSTER-NAME \
   --addons=GcePersistentDiskCsiDriver \
   --cluster-version=VERSION
pd.csi.storage.gke.io
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: pd-example
provisioner: pd.csi.storage.gke.io
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
parameters:
  type: pd-balanced

See also

Advertising: