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

From wikieduonline
Jump to navigation Jump to search
Line 11: Line 11:
 
  metadata:
 
  metadata:
 
   name: pd-example
 
   name: pd-example
  provisioner: pd.csi.storage.gke.io
+
  [[provisioner:]] pd.csi.storage.gke.io
 
  volumeBindingMode: WaitForFirstConsumer
 
  volumeBindingMode: WaitForFirstConsumer
 
  allowVolumeExpansion: true
 
  allowVolumeExpansion: true

Revision as of 12:30, 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: