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
+11
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,7 @@ var (
48
48
metricsPath=flag.String("metrics-path", "/metrics", "The HTTP path where prometheus metrics will be exposed. Default is `/metrics`.")
49
49
grpcLogCharCap=flag.Int("grpc-log-char-cap", 10000, "The maximum amount of characters logged for every grpc responses")
50
50
enableOtelTracing=flag.Bool("enable-otel-tracing", false, "If set, enable opentelemetry tracing for the driver. The tracing is disabled by default. Configure the exporter endpoint with OTEL_EXPORTER_OTLP_ENDPOINT and other env variables, see https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/#general-sdk-configuration.")
51
+
kubeconfig=flag.String("kubeconfig", "", "Absolute path to the kubeconfig file. Required only when running out of cluster")
51
52
52
53
errorBackoffInitialDurationMs=flag.Int("backoff-initial-duration-ms", 200, "The amount of ms for the initial duration of the backoff condition for controller publish/unpublish CSI operations. Default is 200.")
53
54
errorBackoffMaxDurationMs=flag.Int("backoff-max-duration-ms", 300000, "The amount of ms for the max duration of the backoff condition for controller publish/unpublish CSI operations. Default is 300000 (5m).")
@@ -89,6 +90,8 @@ var (
89
90
90
91
extraTagsStr=flag.String("extra-tags", "", "Extra tags to attach to each Compute Disk, Image, Snapshot created. It is a comma separated list of parent id, key and value like '<parent_id1>/<tag_key1>/<tag_value1>,...,<parent_idN>/<tag_keyN>/<tag_valueN>'. parent_id is the Organization or the Project ID or Project name where the tag key and the tag value resources exist. A maximum of 50 tags bindings is allowed for a resource. See https://cloud.google.com/resource-manager/docs/tags/tags-overview, https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing for details")
91
92
93
+
removeNotReadyTaint=flag.Bool("remove-not-ready-taint", true, "remove NotReady taint from node when node is ready")
0 commit comments