OS Manuals

/usr/bin/azurediskplugin

Azure Disk CSI Driver

From azuredisk-csi-fips-1.31 1.31.12-r13 (enterprise-packages), captured 2026-11-08 by running azurediskplugin --help (exit 0). permalink

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)
  -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
    	cloud config secret name (default "azure-cloud-provider")
  -cloud-config-secret-namespace string
    	cloud config secret namespace (default "kube-system")
  -concurrent-format-timeout int
    	maximum time in seconds duration of a format operation before its concurrency token is released (default 300)
  -custom-user-agent string
    	custom userAgent
  -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-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-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
  -kubeconfig string
    	Absolute path to the kubeconfig file. Required only when running out of cluster.
  -list-disks-using-win-cim
    	list disks using CIM API on Windows (default true)
  -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
  -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)
  -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) (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)
  -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)
  -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-snapshot-ready
    	boolean flag to wait for snapshot ready when creating snapshot in same region (default true)
Options (57)
OptionDescriptionSource
-add_dir_headerIf true, adds the file directory to the header of the log messageshelp
-allow-empty-cloud-configWhether allow running driver without cloud config (default true)help
-alsologtostderrlog to standard error as well as files (no effect when -logtostderr=true)help
-attach-detach-initial-delay-ms intinitial delay in milliseconds for batch disk attach/detach (default 1000)help
-check-disk-count-for-batchingboolean flag to check disk count before creating a batch for disk attach (default true)help
-check-disk-lun-collisionboolean flag to check disk lun collisio before attaching disk (default true)help
-cloud-config-secret-name stringcloud config secret name (default "azure-cloud-provider")help
-cloud-config-secret-namespace stringcloud config secret namespace (default "kube-system")help
-concurrent-format-timeout intmaximum time in seconds duration of a format operation before its concurrency token is released (default 300)help
-custom-user-agent stringcustom userAgenthelp
-disable-avset-nodesdisable DisableAvailabilitySetNodes in cloud config for controllerhelp
-drivername stringname of the driver (default "disk.csi.azure.com")help
-enable-disk-capacity-checkboolean flag to enable volume capacity check in CreateVolumehelp
-enable-disk-online-resizeboolean flag to enable disk online resize (default true)help
-enable-list-snapshotsboolean flag to enable ListSnapshots on controllerhelp
-enable-list-volumesboolean flag to enable ListVolumes on controllerhelp
-enable-minimum-retry-afterboolean flag to enable minimum retry after policy in azclient (default true)help
-enable-otel-tracingIf set, enable opentelemetry tracing for the driver.help
-enable-perf-optimizationboolean flag to enable disk perf optimizationhelp
-enable-traffic-managerboolean flag to enable traffic managerhelp
-enable-windows-host-processenable windows host processhelp
-endpoint stringCSI endpoint (default "unix://tmp/csi.sock")help
-force-detach-backoffboolean flag to force detach in disk detach backoff (default true)help
-get-disk-timeout-seconds intThe timeout in seconds for getting disk (default 15)help
-get-node-info-from-labelsboolean flag to get zone info from node labels in NodeGetInfohelp
-get-nodeid-from-imdsboolean flag to get NodeID from IMDShelp
-kubeconfig stringAbsolute path to the kubeconfig file.help
-list-disks-using-win-cimlist disks using CIM API on Windows (default true)help
-log_backtrace_at valuewhen logging hits line file:N, emit a stack tracehelp
-log_dir stringIf non-empty, write log files in this directory (no effect when -logtostderr=true)help
-log_file stringIf non-empty, use this log file (no effect when -logtostderr=true)help
-log_file_max_size uintDefines the maximum size a log file can grow to (no effect when -logtostderr=true).help
-logtostderrlog to standard error instead of files (default true)help
-max-concurrent-format intmaximum number of concurrent format exec calls (default 2)help
-max-procs intmaximum number of CPUs that can be executing simultaneously in golang runtime (default 2)help
-metrics-address stringexport the metricshelp
-nodeid stringnode idhelp
-one_outputIf true, only write logs to their native severity level (vs also writing to each lower severity level;help
-remove-not-ready-taintremove NotReady taint from node when node is ready (default true)help
-reserved-data-disk-slot-num intreserved data disk slot number per nodehelp
-skip_headersIf true, avoid header prefixes in the log messageshelp
-skip_log_headersIf true, avoid headers when opening log files (no effect when -logtostderr=true)help
-stderrthreshold valuelogs 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
-support-zoneboolean flag to get zone info in NodeGetInfo (default true)help
-taint-removal-initial-delay-seconds intinitial delay in seconds for taint removal (default 30)help
-traffic-manager-port intdefault traffic manager port (default 7788)help
-use-csiproxy-ga-interfaceboolean flag to enable csi-proxy GA interface on Windows (default true)help
-user-agent-suffix stringuserAgent suffixhelp
-v valuenumber for the log level verbosityhelp
-versionPrint the version and exit.help
-vm-type stringtype of agent node.help
-vmodule valuecomma-separated list of pattern=N settings for file-filtered logginghelp
-vmss-cache-ttl-seconds intvmss cache TTL in seconds (600 by default) (default -1)help
-vol-stats-cache-expire-in-minutes intThe cache expire time in minutes for volume stats cache (default 10)help
-volume-attach-limit intmaximum number of attachable volumes per node (default -1)help
-wait-for-detachboolean flag to wait for detach before attaching disk on the same node (default true)help
-wait-for-snapshot-readyboolean flag to wait for snapshot ready when creating snapshot in same region (default true)help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.