Usage of /usr/bin/azurediskplugin:
-add_dir_header
If true, adds the file directory to the header of the log messages
-allow-empty-cloud-config
Whether allow running driver without cloud config (default true)
-alsologtostderr
log to standard error as well as files (no effect when -logtostderr=true)
-alsologtostderrthreshold value
logs at or above this threshold go to stderr when -alsologtostderr=true (no effect when -logtostderr=true)
-attach-detach-initial-delay-ms int
initial delay in milliseconds for batch disk attach/detach (default 1000)
-check-disk-count-for-batching
boolean flag to check disk count before creating a batch for disk attach (default true)
-check-disk-lun-collision
boolean flag to check disk lun collisio before attaching disk (default true)
-cloud-config-secret-name string
secret name of cloud config. If set to an empty string, the driver will not read cloud config from a Kubernetes secret. (default "azure-cloud-provider")
-cloud-config-secret-namespace string
secret namespace of cloud config. If set to an empty string, the driver will not read cloud config from a Kubernetes secret. (default "kube-system")
-concurrent-format-timeout int
maximum time in seconds duration of a format operation before its concurrency token is released (default 300)
-convert-rw-caching-mode-for-intree-pv
convert ReadWrite cachingMode to ReadOnly for intree PVs to avoid issues
-custom-user-agent string
custom userAgent
-detach-operation-min-timeout-seconds int
minimum detach operation timeout in seconds (default 240)
-disable-avset-nodes
disable DisableAvailabilitySetNodes in cloud config for controller
-drivername string
name of the driver (default "disk.csi.azure.com")
-enable-disk-capacity-check
boolean flag to enable volume capacity check in CreateVolume
-enable-disk-online-resize
boolean flag to enable disk online resize (default true)
-enable-list-snapshots
boolean flag to enable ListSnapshots on controller
-enable-list-volumes
boolean flag to enable ListVolumes on controller
-enable-migration-monitor
enable migration monitor for Azure Disk CSI Driver (default true)
-enable-minimum-retry-after
boolean flag to enable minimum retry after policy in azclient (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-perf-optimization
boolean flag to enable disk perf optimization
-enable-scsi-device-deletion
delete the Linux SCSI device after unmounting and flushing its caches in NodeUnstageVolume
-enable-traffic-manager
boolean flag to enable traffic manager
-enable-windows-host-process
enable windows host process
-endpoint string
CSI endpoint (default "unix://tmp/csi.sock")
-force-detach-backoff
boolean flag to force detach in disk detach backoff (default true)
-get-disk-timeout-seconds int
The timeout in seconds for getting disk (default 15)
-get-node-info-from-labels
boolean flag to get zone info from node labels in NodeGetInfo
-get-nodeid-from-imds
boolean flag to get NodeID from IMDS
-kube-api-burst int
Burst for kubernetes API client (0 uses default)
-kube-api-qps float
QPS for kubernetes API client (0 uses default)
-kubeconfig string
Absolute path to the kubeconfig file. Required only when running out of cluster.
-legacy_stderr_threshold_behavior
If true, stderrthreshold is ignored when logtostderr=true (legacy behavior). If false, stderrthreshold is honored even when logtostderr=true (default true)
-list-vmss-with-instance-view
boolean flag to enable vmss cache with instance view
-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
maximum number of concurrent format exec calls (default 2)
-max-procs int
maximum number of CPUs that can be executing simultaneously in golang runtime (default 2)
-metrics-address string
export the metrics
-never-stop-taint-removal
if true, taint removal will never stop, otherwise it will stop after the first successful removal (default true)
-nodeid string
node id
-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)
-pre-stop-hook
enable pre-stop hook
-remove-not-ready-taint
remove NotReady taint from node when node is ready (default true)
-reserved-data-disk-slot-num int
reserved data disk slot number per node
-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 unless -legacy_stderr_threshold_behavior=false) (default 2)
-support-zone
boolean flag to get zone info in NodeGetInfo (default true)
-taint-removal-initial-delay-seconds int
initial delay in seconds for taint removal (default 30)
-traffic-manager-port int
default traffic manager port (default 7788)
-use-csiproxy-ga-interface
boolean flag to enable csi-proxy GA interface on Windows (default true)
-use-win-cim-api
whether perform disk operations using CIM API or Powershell command on Windows node (default true)
-user-agent-suffix string
userAgent suffix
-v value
number for the log level verbosity
-version
Print the version and exit.
-vm-type string
type of agent node. available values: vmss, standard
-vmodule value
comma-separated list of pattern=N settings for file-filtered logging
-vmss-cache-ttl-seconds int
vmss cache TTL in seconds (600 by default) (default -1)
-vmss-detach-timeout-seconds int
per-operation timeout in seconds for VMSS disk detach API calls before falling back to polling the Get VM to verify detach status; increase this value if VMSS detach requests frequently time out (default 200)
-vol-stats-cache-expire-in-minutes int
The cache expire time in minutes for volume stats cache (default 10)
-volume-attach-limit int
maximum number of attachable volumes per node (default -1)
-wait-for-detach
boolean flag to wait for detach before attaching disk on the same node (default true)
-wait-for-detach-disk-complete
boolean flag to wait until disk ManagedBy is cleared or no longer refers to the original node after detach (default true)
-wait-for-snapshot-ready
boolean flag to wait for snapshot ready when creating snapshot in same region
Options (70)
| Option | Description | Source |
|---|---|---|
-add_dir_header | If true, adds the file directory to the header of the log messages | help |
-allow-empty-cloud-config | Whether allow running driver without cloud config (default true) | help |
-alsologtostderr | log to standard error as well as files (no effect when -logtostderr=true) | help |
-alsologtostderrthreshold value | logs at or above this threshold go to stderr when -alsologtostderr=true (no effect when -logtostderr=true) | help |
-attach-detach-initial-delay-ms int | initial delay in milliseconds for batch disk attach/detach (default 1000) | help |
-check-disk-count-for-batching | boolean flag to check disk count before creating a batch for disk attach (default true) | help |
-check-disk-lun-collision | boolean flag to check disk lun collisio before attaching disk (default true) | help |
-cloud-config-secret-name string | secret name of cloud config. | help |
-cloud-config-secret-namespace string | secret namespace of cloud config. | help |
-concurrent-format-timeout int | maximum time in seconds duration of a format operation before its concurrency token is released (default 300) | help |
-convert-rw-caching-mode-for-intree-pv | convert ReadWrite cachingMode to ReadOnly for intree PVs to avoid issues | help |
-custom-user-agent string | custom userAgent | help |
-detach-operation-min-timeout-seconds int | minimum detach operation timeout in seconds (default 240) | help |
-disable-avset-nodes | disable DisableAvailabilitySetNodes in cloud config for controller | help |
-drivername string | name of the driver (default "disk.csi.azure.com") | help |
-enable-disk-capacity-check | boolean flag to enable volume capacity check in CreateVolume | help |
-enable-disk-online-resize | boolean flag to enable disk online resize (default true) | help |
-enable-list-snapshots | boolean flag to enable ListSnapshots on controller | help |
-enable-list-volumes | boolean flag to enable ListVolumes on controller | help |
-enable-migration-monitor | enable migration monitor for Azure Disk CSI Driver (default true) | help |
-enable-minimum-retry-after | boolean flag to enable minimum retry after policy in azclient (default true) | help |
-enable-otel-tracing | If set, enable opentelemetry tracing for the driver. | help |
-enable-perf-optimization | boolean flag to enable disk perf optimization | help |
-enable-scsi-device-deletion | delete the Linux SCSI device after unmounting and flushing its caches in NodeUnstageVolume | help |
-enable-traffic-manager | boolean flag to enable traffic manager | help |
-enable-windows-host-process | enable windows host process | help |
-endpoint string | CSI endpoint (default "unix://tmp/csi.sock") | help |
-force-detach-backoff | boolean flag to force detach in disk detach backoff (default true) | help |
-get-disk-timeout-seconds int | The timeout in seconds for getting disk (default 15) | help |
-get-node-info-from-labels | boolean flag to get zone info from node labels in NodeGetInfo | help |
-get-nodeid-from-imds | boolean flag to get NodeID from IMDS | help |
-kube-api-burst int | Burst for kubernetes API client (0 uses default) | help |
-kube-api-qps float | QPS for kubernetes API client (0 uses default) | help |
-kubeconfig string | Absolute path to the kubeconfig file. | help |
-legacy_stderr_threshold_behavior | If true, stderrthreshold is ignored when logtostderr=true (legacy behavior). | help |
-list-vmss-with-instance-view | boolean flag to enable vmss cache with instance view | 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 | maximum number of concurrent format exec calls (default 2) | help |
-max-procs int | maximum number of CPUs that can be executing simultaneously in golang runtime (default 2) | help |
-metrics-address string | export the metrics | help |
-never-stop-taint-removal | if true, taint removal will never stop, otherwise it will stop after the first successful removal (default true) | help |
-nodeid string | node id | help |
-one_output | If true, only write logs to their native severity level (vs also writing to each lower severity level; | help |
-pre-stop-hook | enable pre-stop hook | help |
-remove-not-ready-taint | remove NotReady taint from node when node is ready (default true) | help |
-reserved-data-disk-slot-num int | reserved data disk slot number per node | 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 unless -legacy_stderr_threshold_behavior=false) (default 2) | help |
-support-zone | boolean flag to get zone info in NodeGetInfo (default true) | help |
-taint-removal-initial-delay-seconds int | initial delay in seconds for taint removal (default 30) | help |
-traffic-manager-port int | default traffic manager port (default 7788) | help |
-use-csiproxy-ga-interface | boolean flag to enable csi-proxy GA interface on Windows (default true) | help |
-use-win-cim-api | whether perform disk operations using CIM API or Powershell command on Windows node (default true) | help |
-user-agent-suffix string | userAgent suffix | help |
-v value | number for the log level verbosity | help |
-version | Print the version and exit. | help |
-vm-type string | type of agent node. | help |
-vmodule value | comma-separated list of pattern=N settings for file-filtered logging | help |
-vmss-cache-ttl-seconds int | vmss cache TTL in seconds (600 by default) (default -1) | help |
-vmss-detach-timeout-seconds int | per-operation timeout in seconds for VMSS disk detach API calls before falling back to polling the Get VM to verify detach status; | help |
-vol-stats-cache-expire-in-minutes int | The cache expire time in minutes for volume stats cache (default 10) | help |
-volume-attach-limit int | maximum number of attachable volumes per node (default -1) | help |
-wait-for-detach | boolean flag to wait for detach before attaching disk on the same node (default true) | help |
-wait-for-detach-disk-complete | boolean flag to wait until disk ManagedBy is cleared or no longer refers to the original node after detach (default true) | help |
-wait-for-snapshot-ready | boolean flag to wait for snapshot ready when creating snapshot in same region | help |