Usage of /usr/bin/smbplugin:
-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)
-default-ondelete-policy string
default policy for deleting subdirectory when deleting a volume
-drivername string
name of the driver (default "smb.csi.k8s.io")
-enable-get-volume-stats
allow GET_VOLUME_STATS on agent node (default true)
-enable-windows-host-process
enable windows host process
-endpoint string
CSI endpoint (default "unix://tmp/csi.sock")
-krb5-cache-directory string
The directory for kerberos cache (default "/var/lib/kubelet/kerberos/")
-krb5-prefix string
The prefix for kerberos cache (default "krb5cc_")
-kubeconfig string
Absolute path to the kubeconfig file. Required only when running out of cluster.
-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-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-archived-volume-path
remove archived volume path in DeleteVolume (default true)
-remove-smb-mapping-during-unmount
remove SMBMapping during unmount on Windows node (default true)
-require-privacy-for-global-mapping
pass -RequirePrivacy $true to New-SmbGlobalMapping on Windows node; set to false to stop requiring SMB encryption on the global mapping (only applies when --enable-windows-host-process=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)
-v value
number for the log level verbosity
-ver
Print the version and exit.
-vmodule value
comma-separated list of pattern=N settings for file-filtered logging
-vol-stats-cache-expire-in-minutes int
The cache expire time in minutes for volume stats cache (default 10)
-working-mount-dir string
working directory for provisioner to mount smb shares temporarily (default "/tmp")
Options (29)
| Option | Description | Source |
|---|---|---|
-add_dir_header | If true, adds the file directory to the header of the log messages | help |
-alsologtostderr | log to standard error as well as files (no effect when -logtostderr=true) | help |
-default-ondelete-policy string | default policy for deleting subdirectory when deleting a volume | help |
-drivername string | name of the driver (default "smb.csi.k8s.io") | help |
-enable-get-volume-stats | allow GET_VOLUME_STATS on agent node (default true) | help |
-enable-windows-host-process | enable windows host process | help |
-endpoint string | CSI endpoint (default "unix://tmp/csi.sock") | help |
-krb5-cache-directory string | The directory for kerberos cache (default "/var/lib/kubelet/kerberos/") | help |
-krb5-prefix string | The prefix for kerberos cache (default "krb5cc_") | help |
-kubeconfig string | Absolute path to the kubeconfig file. | 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 |
-metrics-address string | export the metrics | 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 |
-remove-archived-volume-path | remove archived volume path in DeleteVolume (default true) | help |
-remove-smb-mapping-during-unmount | remove SMBMapping during unmount on Windows node (default true) | help |
-require-privacy-for-global-mapping | pass -RequirePrivacy $true to New-SmbGlobalMapping on Windows 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) (default 2) | help |
-v value | number for the log level verbosity | help |
-ver | Print the version and exit. | help |
-vmodule value | comma-separated list of pattern=N settings for file-filtered logging | help |
-vol-stats-cache-expire-in-minutes int | The cache expire time in minutes for volume stats cache (default 10) | help |
-working-mount-dir string | working directory for provisioner to mount smb shares temporarily (default "/tmp") | help |