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
runControllerService=flag.Bool("run-controller-service", true, "If set to false then the CSI driver does not activate its controller service (default: true)")
39
-
runNodeService=flag.Bool("run-node-service", true, "If set to false then the CSI driver does not activate its node service (default: true)")
40
-
httpEndpoint=flag.String("http-endpoint", "", "The TCP network address where the prometheus metrics endpoint will listen (example: `:8080`). The default is empty string, which means metrics endpoint is disabled.")
41
-
metricsPath=flag.String("metrics-path", "/metrics", "The HTTP path where prometheus metrics will be exposed. Default is `/metrics`.")
42
-
extraVolumeLabelsStr=flag.String("extra-labels", "", "Extra labels to attach to each PD created. It is a comma separated list of key value pairs like '<key1>=<value1>,<key2>=<value2>'. See https://cloud.google.com/compute/docs/labeling-resources for details")
43
-
versionstring
36
+
cloudConfigFilePath=flag.String("cloud-config", "", "Path to GCE cloud provider config")
runControllerService=flag.Bool("run-controller-service", true, "If set to false then the CSI driver does not activate its controller service (default: true)")
39
+
runNodeService=flag.Bool("run-node-service", true, "If set to false then the CSI driver does not activate its node service (default: true)")
40
+
httpEndpoint=flag.String("http-endpoint", "", "The TCP network address where the prometheus metrics endpoint will listen (example: `:8080`). The default is empty string, which means metrics endpoint is disabled.")
41
+
metricsPath=flag.String("metrics-path", "/metrics", "The HTTP path where prometheus metrics will be exposed. Default is `/metrics`.")
42
+
extraVolumeLabelsStr=flag.String("extra-labels", "", "Extra labels to attach to each PD created. It is a comma separated list of key value pairs like '<key1>=<value1>,<key2>=<value2>'. See https://cloud.google.com/compute/docs/labeling-resources for details")
43
+
attachDiskBackoffDuration=flag.Duration("attach-disk-backoff-duration", 5*time.Second, "Duration for attachDisk backoff")
44
+
attachDiskBackoffFactor=flag.Float64("attach-disk-backoff-factor", 0.0, "Factor for attachDisk backoff")
45
+
attachDiskBackoffJitter=flag.Float64("attach-disk-backoff-jitter", 0.0, "Jitter for attachDisk backoff")
46
+
attachDiskBackoffSteps=flag.Int("attach-disk-backoff-steps", 24, "Steps for attachDisk backoff")
47
+
attachDiskBackoffCap=flag.Duration("attach-disk-backoff-cap", 0, "Cap for attachDisk backoff")
48
+
waitForOpBackoffDuration=flag.Duration("wait-op-backoff-duration", 3*time.Second, "Duration for wait for operation backoff")
49
+
waitForOpBackoffFactor=flag.Float64("wait-op-backoff-factor", 0.0, "Factor for wait for operation backoff")
50
+
waitForOpBackoffJitter=flag.Float64("wait-op-backoff-jitter", 0.0, "Jitter for wait for operation backoff")
51
+
waitForOpBackoffSteps=flag.Int("wait-op-backoff-steps", 100, "Steps for wait for operation backoff")
52
+
waitForOpBackoffCap=flag.Duration("wait-op-backoff-cap", 0, "Cap for wait for operation backoff")
53
+
versionstring
44
54
)
45
55
46
56
const (
@@ -128,5 +138,17 @@ func handle() {
128
138
klog.Fatalf("Failed to initialize GCE CSI Driver: %v", err)
0 commit comments