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

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
     --addons=[[GcePersistentDiskCsiDriver]] \
 
     --addons=[[GcePersistentDiskCsiDriver]] \
 
     --cluster-version=VERSION
 
     --cluster-version=VERSION
 +
 +
 +
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 ==
 
== See also ==

Revision as of 12:27, 4 July 2022

gcloud container clusters create YOUR-CLUSTER-NAME \
   --addons=GcePersistentDiskCsiDriver \
   --cluster-version=VERSION


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: