Usage of /usr/bin/cephcsi:
-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)
-automaxprocs
automatically set GOMAXPROCS to match Linux container CPU quota
-clustername string
name of the cluster
-controllerserver
start cephcsi controller server
-crush-location-labels string
list of Kubernetes node labels, that determines the CRUSH location the node belongs to, separated by ','
-csi-addons-endpoint string
CSI-Addons endpoint (default "unix:///tmp/csi-addons.sock")
-domainlabels string
list of Kubernetes node labels, that determines the topology domain the node belongs to, separated by ','
-drivername string
name of the driver
-drivernamespace string
namespace in which driver is deployed (default "default")
-enable-fencing
enable fencing of nodes during non-graceful shutdowns
-enable-read-affinity
enable read affinity
-enableprofiling
enable go profiling
-endpoint string
CSI endpoint (default "unix:///tmp/csi.sock")
-feature-gates string
comma-separated list of feature gates (e.g., SlowGRPCRestart=false)
-forcecephkernelclient
enable Ceph Kernel clients on kernel < 4.17 which support quotas
-fusemountoptions string
Comma separated string of mount options accepted by ceph-fuse mounter
-instanceid string
Unique ID distinguishing this instance of Ceph-CSI among other instances, when sharing Ceph clusters across CSI instances for provisioning (default "default")
-kernelmountoptions string
Comma separated string of mount options accepted by cephfs kernel mounter
-kubeconfig string
Paths to a kubeconfig. Only required if 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)
-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)
-logslowopinterval duration
how often to inform about slow gRPC calls (default 30s)
-logtostderr
log to standard error instead of files (default true)
-maxsnapshotsonimage uint
Maximum number of snapshots allowed on rbd image without flattening (default 450)
-metricspath string
path of prometheus endpoint where metrics will be available (default "/metrics")
-metricsport int
TCP port for liveness/profile metrics requests (default 8080)
-minsnapshotsonimage uint
Minimum number of snapshots required on rbd image to start flattening (default 250)
-nodeid string
node id
-nodeserver
start cephcsi node server
-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)
-pidlimit int
the PID limit to configure through cgroups
-pluginpath string
plugin path (default "/var/lib/kubelet/plugins")
-polltime duration
time interval in seconds between each poll (default 1m0s)
-radosnamespacecephfs string
CephFS RadosNamespace used to store CSI specific objects and keys.
-rbdhardmaxclonedepth uint
Hard limit for maximum number of nested volume clones that are taken before a flatten occurs (default 8)
-rbdsoftmaxclonedepth uint
Soft limit for maximum number of nested volume clones that are taken before a flatten occurs (default 4)
-setmetadata
[DEPRECATED] this flag is deprecated and will be removed in a future release. Metadata is now always set on volumes regardless of this flag's value (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)
-skipforceflatten
skip image flattening if kernel support mapping of rbd images which has the deep-flatten feature
-stagingpath string
staging path (default "/var/lib/kubelet/plugins/kubernetes.io/csi/")
-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
probe timeout in seconds (default 3s)
-type string
driver type [rbd|cephfs|nfs|nvmeof|liveness|controller]
-v value
number for the log level verbosity
-version
Print cephcsi version information
-vmodule value
comma-separated list of pattern=N settings for file-filtered logging
Options (52)
| 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 |
-alsologtostderrthreshold value | logs at or above this threshold go to stderr when -alsologtostderr=true (no effect when -logtostderr=true) | help |
-automaxprocs | automatically set GOMAXPROCS to match Linux container CPU quota | help |
-clustername string | name of the cluster | help |
-controllerserver | start cephcsi controller server | help |
-crush-location-labels string | list of Kubernetes node labels, that determines the CRUSH location the node belongs to, separated by ',' | help |
-csi-addons-endpoint string | CSI-Addons endpoint (default "unix:///tmp/csi-addons.sock") | help |
-domainlabels string | list of Kubernetes node labels, that determines the topology domain the node belongs to, separated by ',' | help |
-drivername string | name of the driver | help |
-drivernamespace string | namespace in which driver is deployed (default "default") | help |
-enable-fencing | enable fencing of nodes during non-graceful shutdowns | help |
-enable-read-affinity | enable read affinity | help |
-enableprofiling | enable go profiling | help |
-endpoint string | CSI endpoint (default "unix:///tmp/csi.sock") | help |
-feature-gates string | comma-separated list of feature gates (e.g., SlowGRPCRestart=false) | help |
-forcecephkernelclient | enable Ceph Kernel clients on kernel < 4.17 which support quotas | help |
-fusemountoptions string | Comma separated string of mount options accepted by ceph-fuse mounter | help |
-instanceid string | Unique ID distinguishing this instance of Ceph-CSI among other instances, when sharing Ceph clusters across CSI instances for provisioning (default "default") | help |
-kernelmountoptions string | Comma separated string of mount options accepted by cephfs kernel mounter | help |
-kubeconfig string | Paths to a kubeconfig. | help |
-legacy_stderr_threshold_behavior | If true, stderrthreshold is ignored when logtostderr=true (legacy behavior). | 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 |
-logslowopinterval duration | how often to inform about slow gRPC calls (default 30s) | help |
-logtostderr | log to standard error instead of files (default true) | help |
-maxsnapshotsonimage uint | Maximum number of snapshots allowed on rbd image without flattening (default 450) | help |
-metricspath string | path of prometheus endpoint where metrics will be available (default "/metrics") | help |
-metricsport int | TCP port for liveness/profile metrics requests (default 8080) | help |
-minsnapshotsonimage uint | Minimum number of snapshots required on rbd image to start flattening (default 250) | help |
-nodeid string | node id | help |
-nodeserver | start cephcsi node server | help |
-one_output | If true, only write logs to their native severity level (vs also writing to each lower severity level; | help |
-pidlimit int | the PID limit to configure through cgroups | help |
-pluginpath string | plugin path (default "/var/lib/kubelet/plugins") | help |
-polltime duration | time interval in seconds between each poll (default 1m0s) | help |
-radosnamespacecephfs string | CephFS RadosNamespace used to store CSI specific objects and keys. | help |
-rbdhardmaxclonedepth uint | Hard limit for maximum number of nested volume clones that are taken before a flatten occurs (default 8) | help |
-rbdsoftmaxclonedepth uint | Soft limit for maximum number of nested volume clones that are taken before a flatten occurs (default 4) | help |
-setmetadata | [DEPRECATED] this flag is deprecated and will be removed in a future release. | 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 |
-skipforceflatten | skip image flattening if kernel support mapping of rbd images which has the deep-flatten feature | help |
-stagingpath string | staging path (default "/var/lib/kubelet/plugins/kubernetes.io/csi/") | 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 |
-timeout duration | probe timeout in seconds (default 3s) | help |
-type string | driver type [rbd|cephfs|nfs|nvmeof|liveness|controller] | help |
-v value | number for the log level verbosity | help |
-version | Print cephcsi version information | help |
-vmodule value | comma-separated list of pattern=N settings for file-filtered logging | help |