You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/gce-pd-csi-driver/main.go
+15-15
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ var (
75
75
fallbackRequisiteZonesFlag=flag.String("fallback-requisite-zones", "", "Comma separated list of requisite zones that will be used if there are not sufficient zones present in requisite topologies when provisioning a disk")
76
76
enableStoragePoolsFlag=flag.Bool("enable-storage-pools", false, "If set to true, the CSI Driver will allow volumes to be provisioned in Storage Pools")
77
77
enableHdHAFlag=flag.Bool("allow-hdha-provisioning", false, "If set to true, will allow the driver to provision Hyperdisk-balanced High Availability disks")
78
-
enableDataCacheFlag=flag.Bool("enable-data-cache", false, "If set to true, the CSI Driver will allow volumes to be provisioned with data cache configuration")
78
+
enableDataCacheFlag=flag.Bool("enable-data-cache", false, "If set to true, the CSI Driver will allow volumes to be provisioned with Data Cache configuration")
79
79
nodeName=flag.String("node-name", "", "The node this driver is running on")
80
80
81
81
multiZoneVolumeHandleDiskTypesFlag=flag.String("multi-zone-volume-handle-disk-types", "", "Comma separated list of allowed disk types that can use the multi-zone volumeHandle. Used only if --multi-zone-volume-handle-enable")
@@ -130,7 +130,7 @@ func handle() {
130
130
ifversion=="" {
131
131
klog.Fatalf("version must be set at compile time")
132
132
}
133
-
klog.V(2).Infof("Driver vendor version %v", version)
133
+
klog.V(4).Infof("Driver vendor version %v", version)
134
134
135
135
// Start tracing as soon as possible
136
136
if*enableOtelTracing {
@@ -258,10 +258,10 @@ func handle() {
258
258
259
259
if*enableDataCacheFlag {
260
260
ifnodeName==nil||*nodeName=="" {
261
-
klog.Errorf("Data cache enabled, but --node-name not passed")
261
+
klog.Errorf("Data Cache enabled, but --node-name not passed")
klog.V(4).Infof("Data Cache is not enabled for PVC (data-cache-size: %v, data-cache-mode: %v). Please set both these parameters in StorageClass to enable caching", dataCacheSize, dataCacheMode)
0 commit comments