Usage of /usr/bin/gce-pd-csi-driver:
-add_dir_header
If true, adds the file directory to the header of the log messages
-allow-hdha-provisioning
If set to true, will allow the driver to provision Hyperdisk-balanced High Availability disks
-alsologtostderr
log to standard error as well as files (no effect when -logtostderr=true)
-attach-disk-backoff-cap duration
Cap for attachDisk backoff
-attach-disk-backoff-duration duration
Duration for attachDisk backoff (default 5s)
-attach-disk-backoff-factor float
Factor for attachDisk backoff
-attach-disk-backoff-jitter float
Jitter for attachDisk backoff
-attach-disk-backoff-steps int
Steps for attachDisk backoff (default 24)
-backoff-initial-duration-ms int
The amount of ms for the initial duration of the backoff condition for controller publish/unpublish CSI operations. Default is 200. (default 200)
-backoff-max-duration-ms int
The amount of ms for the max duration of the backoff condition for controller publish/unpublish CSI operations. Default is 300000 (5m). (default 300000)
-cloud-config string
Path to GCE cloud provider config
-compute-endpoint value
Compute endpoint
-compute-environment value
Operating compute environment
-concurrent-format-timeout duration
The maximum duration of a format operation before its concurrency token is released (default 1m0s)
-device-in-use-timeout duration
Max time to wait for a device to be unused when attempting to unstage. Exceeding the timeout will cause an unstage request to return success and ignore the device in use check. (default 30s)
-enable-device-in-use-check-on-node-unstage
If set to true, block NodeUnstageVolume requests until the specified device is not in use (default true)
-enable-otel-tracing
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.
-enable-storage-pools
If set to true, the CSI Driver will allow volumes to be provisioned in Storage Pools
-endpoint string
CSI endpoint (default "unix:/tmp/csi.sock")
-extra-labels string
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
-extra-tags string
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
-fallback-requisite-zones string
Comma separated list of requisite zones that will be used if there are not sufficient zones present in requisite topologies when provisioning a disk
-format-and-mount-timeout duration
The maximum duration of a format and mount operation before another such operation will be started. Used only if --serialize-format-and-mount (default 1m0s)
-grpc-log-char-cap int
The maximum amount of characters logged for every grpc responses (default 10000)
-http-endpoint :8080
The TCP network address where the prometheus metrics endpoint will listen (example: :8080). The default is empty string, which means metrics endpoint is disabled.
-instances-list-filters string
Comma separated list of filters to use when calling the instances.list API. By default instances.list fetches all instances in a region
-log_backtrace_at value
when logging hits line file:N, emit a stack trace
-log_dir string
If non-empty, write log files in this directory (no effect when -logtostderr=true)
-log_file string
If non-empty, use this log file (no effect when -logtostderr=true)
-log_file_max_size uint
Defines the maximum size a log file can grow to (no effect when -logtostderr=true). Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
-logtostderr
log to standard error instead of files (default true)
-max-concurrent-format int
The maximum number of concurrent format exec calls (default 1)
-max-concurrent-format-and-mount int
If set then format and mount operations are serialized on each node. This is stronger than max-concurrent-format as it includes fsck and other mount operations (default 1)
-maxprocs int
GOMAXPROCS override (default 1)
-metrics-path /metrics
The HTTP path where prometheus metrics will be exposed. Default is /metrics. (default "/metrics")
-multi-zone-volume-handle-disk-types string
Comma separated list of allowed disk types that can use the multi-zone volumeHandle. Used only if --multi-zone-volume-handle-enable
-multi-zone-volume-handle-enable
If set to true, the multi-zone volumeHandle feature will be enabled
-one_output
If true, only write logs to their native severity level (vs also writing to each lower severity level; no effect when -logtostderr=true)
-run-controller-service
If set to false then the CSI driver does not activate its controller service (default: true) (default true)
-run-node-service
If set to false then the CSI driver does not activate its node service (default: true) (default true)
-skip_headers
If true, avoid header prefixes in the log messages
-skip_log_headers
If true, avoid headers when opening log files (no effect when -logtostderr=true)
-stderrthreshold value
logs at or above this threshold go to stderr when writing to files and stderr (no effect when -logtostderr=true or -alsologtostderr=true) (default 2)
-supports-dynamic-iops-provisioning string
Comma separated list of disk types that support dynamic IOPS provisioning
-supports-dynamic-throughput-provisioning string
Comma separated list of disk types that support dynamic throughput provisioning
-use-instance-api-to-list-volumes-published-nodes
Enables using the instances.list API to determine published_node_ids in ListVolumes. When false (default), the disks.list API is used
-use-instance-api-to-poll-attachment-disk-types string
Comma separated list of disk types that should use instances.get API when polling for disk attach during ControllerPublish
-v value
number for the log level verbosity
-vmodule value
comma-separated list of pattern=N settings for file-filtered logging
-wait-op-backoff-cap duration
Cap for wait for operation backoff
-wait-op-backoff-duration duration
Duration for wait for operation backoff (default 3s)
-wait-op-backoff-factor float
Factor for wait for operation backoff
-wait-op-backoff-jitter float
Jitter for wait for operation backoff
-wait-op-backoff-steps int
Steps for wait for operation backoff (default 100)
Options (54)
| Option | Description | Source |
|---|---|---|
-add_dir_header | If true, adds the file directory to the header of the log messages | help |
-allow-hdha-provisioning | If set to true, will allow the driver to provision Hyperdisk-balanced High Availability disks | help |
-alsologtostderr | log to standard error as well as files (no effect when -logtostderr=true) | help |
-attach-disk-backoff-cap duration | Cap for attachDisk backoff | help |
-attach-disk-backoff-duration duration | Duration for attachDisk backoff (default 5s) | help |
-attach-disk-backoff-factor float | Factor for attachDisk backoff | help |
-attach-disk-backoff-jitter float | Jitter for attachDisk backoff | help |
-attach-disk-backoff-steps int | Steps for attachDisk backoff (default 24) | help |
-backoff-initial-duration-ms int | The amount of ms for the initial duration of the backoff condition for controller publish/unpublish CSI operations. | help |
-backoff-max-duration-ms int | The amount of ms for the max duration of the backoff condition for controller publish/unpublish CSI operations. | help |
-cloud-config string | Path to GCE cloud provider config | help |
-compute-endpoint value | Compute endpoint | help |
-compute-environment value | Operating compute environment | help |
-concurrent-format-timeout duration | The maximum duration of a format operation before its concurrency token is released (default 1m0s) | help |
-device-in-use-timeout duration | Max time to wait for a device to be unused when attempting to unstage. | help |
-enable-device-in-use-check-on-node-unstage | If set to true, block NodeUnstageVolume requests until the specified device is not in use (default true) | help |
-enable-otel-tracing | If set, enable opentelemetry tracing for the driver. | help |
-enable-storage-pools | If set to true, the CSI Driver will allow volumes to be provisioned in Storage Pools | help |
-endpoint string | CSI endpoint (default "unix:/tmp/csi.sock") | help |
-extra-labels string | Extra labels to attach to each PD created. | help |
-extra-tags string | Extra tags to attach to each Compute Disk, Image, Snapshot created. | help |
-fallback-requisite-zones string | Comma separated list of requisite zones that will be used if there are not sufficient zones present in requisite topologies when provisioning a disk | help |
-format-and-mount-timeout duration | The maximum duration of a format and mount operation before another such operation will be started. | help |
-grpc-log-char-cap int | The maximum amount of characters logged for every grpc responses (default 10000) | help |
-http-endpoint :8080 | The TCP network address where the prometheus metrics endpoint will listen (example: :8080). | help |
-instances-list-filters string | Comma separated list of filters to use when calling the instances.list API. | help |
-log_backtrace_at value | when logging hits line file:N, emit a stack trace | help |
-log_dir string | If non-empty, write log files in this directory (no effect when -logtostderr=true) | help |
-log_file string | If non-empty, use this log file (no effect when -logtostderr=true) | help |
-log_file_max_size uint | Defines the maximum size a log file can grow to (no effect when -logtostderr=true). | help |
-logtostderr | log to standard error instead of files (default true) | help |
-max-concurrent-format int | The maximum number of concurrent format exec calls (default 1) | help |
-max-concurrent-format-and-mount int | If set then format and mount operations are serialized on each node. | help |
-maxprocs int | GOMAXPROCS override (default 1) | help |
-metrics-path /metrics | The HTTP path where prometheus metrics will be exposed. | help |
-multi-zone-volume-handle-disk-types string | Comma separated list of allowed disk types that can use the multi-zone volumeHandle. | help |
-multi-zone-volume-handle-enable | If set to true, the multi-zone volumeHandle feature will be enabled | help |
-one_output | If true, only write logs to their native severity level (vs also writing to each lower severity level; | help |
-run-controller-service | If set to false then the CSI driver does not activate its controller service (default: true) (default true) | help |
-run-node-service | If set to false then the CSI driver does not activate its node service (default: true) (default true) | help |
-skip_headers | If true, avoid header prefixes in the log messages | help |
-skip_log_headers | If true, avoid headers when opening log files (no effect when -logtostderr=true) | help |
-stderrthreshold value | logs at or above this threshold go to stderr when writing to files and stderr (no effect when -logtostderr=true or -alsologtostderr=true) (default 2) | help |
-supports-dynamic-iops-provisioning string | Comma separated list of disk types that support dynamic IOPS provisioning | help |
-supports-dynamic-throughput-provisioning string | Comma separated list of disk types that support dynamic throughput provisioning | help |
-use-instance-api-to-list-volumes-published-nodes | Enables using the instances.list API to determine published_node_ids in ListVolumes. | help |
-use-instance-api-to-poll-attachment-disk-types string | Comma separated list of disk types that should use instances.get API when polling for disk attach during ControllerPublish | help |
-v value | number for the log level verbosity | help |
-vmodule value | comma-separated list of pattern=N settings for file-filtered logging | help |
-wait-op-backoff-cap duration | Cap for wait for operation backoff | help |
-wait-op-backoff-duration duration | Duration for wait for operation backoff (default 3s) | help |
-wait-op-backoff-factor float | Factor for wait for operation backoff | help |
-wait-op-backoff-jitter float | Jitter for wait for operation backoff | help |
-wait-op-backoff-steps int | Steps for wait for operation backoff (default 100) | help |