OS Manuals

/usr/bin/volume-modifier-for-k8s

volume-modifier-for-k8s is a sidecar deployed alongside CSI drivers to enable volume modification through annotations on the PVC.

From volume-modifier-for-k8s 0.9.5-r1 (os), captured 2026-11-05 by running volume-modifier-for-k8s --help (exit 0). permalink

Also provided by 2 other package versions
Usage of /usr/bin/volume-modifier-for-k8s:
  -add_dir_header
    	If true, adds the file directory to the header of the log messages
  -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)
  -client-config-url string
    	URL to build a client config from. Either this or kubeconfig needs to be set if the provisioner is being run out of cluster.
  -csi-address string
    	Address of the CSI driver socket. (default "/run/csi/socket")
  -http-endpoint :8080
    	The TCP network address where the HTTP server for diagnostics, including metrics and leader election health check, will listen (example: :8080). The default is empty string, which means the server is disabled. Only one of `--metrics-address` and `--http-endpoint` can be set.
  -kube-api-burst int
    	Burst to use while communicating with the kubernetes apiserver. Defaults to 10. (default 10)
  -kube-api-qps float
    	QPS to use while communicating with the kubernetes apiserver. Defaults to 5.0. (default 5)
  -kubeconfig string
    	Absolute path to the kubeconfig
  -leader-election
    	Enable leader election.
  -leader-election-lease-duration duration
    	Duration, in seconds, that non-leader candidates will wait to force acquire leadership. Defaults to 15 seconds. (default 15s)
  -leader-election-namespace string
    	Namespace where the leader election resource lives. Defaults to the pod namespace if not set.
  -leader-election-renew-deadline duration
    	Duration, in seconds, that the acting leader will retry refreshing leadership before giving up. Defaults to 10 seconds. (default 10s)
  -leader-election-retry-period duration
    	Duration, in seconds, the LeaderElector clients should wait between tries of actions. Defaults to 5 seconds. (default 5s)
  -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)
  -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)
  -metrics-path /metrics
    	The HTTP path where prometheus metrics will be exposed. Default is /metrics. (default "/metrics")
  -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)
  -resync-period duration
    	Resync period for cache (default 10m0s)
  -retry-interval-max duration
    	Maximum retry interval of failed volume modification. (default 5m0s)
  -retry-interval-start duration
    	Initial retry interval of failed volume modification. It exponentially increases with each failure, up to retry-interval-max. (default 1s)
  -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)
  -timeout duration
    	Timeout for waiting for CSI driver socket. (default 10s)
  -v value
    	number for the log level verbosity
  -version
    	Show version
  -vmodule value
    	comma-separated list of pattern=N settings for file-filtered logging
  -workers int
    	Concurrency to process multiple modification requests (default 10)
Options (33)
OptionDescriptionSource
-add_dir_headerIf true, adds the file directory to the header of the log messageshelp
-alsologtostderrlog to standard error as well as files (no effect when -logtostderr=true)help
-alsologtostderrthreshold valuelogs at or above this threshold go to stderr when -alsologtostderr=true (no effect when -logtostderr=true)help
-client-config-url stringURL to build a client config from.help
-csi-address stringAddress of the CSI driver socket.help
-http-endpoint :8080The TCP network address where the HTTP server for diagnostics, including metrics and leader election health check, will listen (example: :8080).help
-kube-api-burst intBurst to use while communicating with the kubernetes apiserver.help
-kube-api-qps floatQPS to use while communicating with the kubernetes apiserver.help
-kubeconfig stringAbsolute path to the kubeconfighelp
-leader-electionEnable leader election.help
-leader-election-lease-duration durationDuration, in seconds, that non-leader candidates will wait to force acquire leadership.help
-leader-election-namespace stringNamespace where the leader election resource lives.help
-leader-election-renew-deadline durationDuration, in seconds, that the acting leader will retry refreshing leadership before giving up.help
-leader-election-retry-period durationDuration, in seconds, the LeaderElector clients should wait between tries of actions.help
-legacy_stderr_threshold_behaviorIf true, stderrthreshold is ignored when logtostderr=true (legacy behavior).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
-metrics-path /metricsThe HTTP path where prometheus metrics will be exposed.help
-one_outputIf true, only write logs to their native severity level (vs also writing to each lower severity level;help
-resync-period durationResync period for cache (default 10m0s)help
-retry-interval-max durationMaximum retry interval of failed volume modification.help
-retry-interval-start durationInitial retry interval of failed volume modification.help
-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 unless -legacy_stderr_threshold_behavior=false) (default 2)help
-timeout durationTimeout for waiting for CSI driver socket.help
-v valuenumber for the log level verbosityhelp
-versionShow versionhelp
-vmodule valuecomma-separated list of pattern=N settings for file-filtered logginghelp
-workers intConcurrency to process multiple modification requests (default 10)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.