Usage of /usr/bin/csi-addons-manager:
-automaxprocs
automatically set GOMAXPROCS to match Linux container CPU quota
-cronjob-stagger-window int
Duration, in hours, that the CronJobs for KeyRotation and ReclaimSpace are staggered within. Defaults to 2 hours, set as 0 to disable. (default 2)
-csi-addons-node-retry-delay int
Duration, in seconds, the CSIAddonsNode reconciler must wait before retrying the connection to csi-addons sidecar (default 5)
-enable-admission-webhooks
[DEPRECATED] Enable the admission webhooks
-enable-auth
Enables TLS and adds bearer token to the headers (enabled by default) (default true)
-enable-http2
If set, HTTP/2 will be enabled for the metrics and webhook servers
-enable-volume-health-cleanup
Enable stale PVC volume health annotation cleanup worker (default true)
-health-probe-bind-address string
The address the probe endpoint binds to. (default ":8081")
-kubeconfig string
Paths to a kubeconfig. Only required if out-of-cluster.
-leader-elect
Enable leader election for controller manager. Enabling this will ensure there is only one active controller manager.
-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-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)
-max-concurrent-reconciles int
Maximum number of concurrent reconciles (default 100)
-max-group-pvc int
Maximum number of PVCs allowed in a volume group (default 100)
-metrics-bind-address string
The address the metrics endpoint binds to. Use :8443 for HTTPS or :8080 for HTTP, or 0 to disable the metrics service. (default "0")
-metrics-secure
If set, the metrics endpoint is served securely via HTTPS. Use --metrics-secure=false to use HTTP instead. (default true)
-namespace string
Namespace where the CSIAddons pod is deployed (default "csi-addons-system")
-reclaim-space-timeout duration
Timeout for reclaimspace operation (default 3m0s)
-schedule-precedence string
The order of precedence in which schedule of reclaimspace and keyrotation is considered. Possible values are "pvc" and "storageclass". Defaults to "pvc" (default "pvc")
-v value
Alias for --zap-log-level, accepts klog-style verbosity (e.g. -v=0, -v=3)
-version
Print Version details
-volume-health-cleanup-interval duration
Interval at which stale PVC volume health annotations are scanned and cleaned up (default 30m0s)
-volume-health-stale-threshold duration
Age after which a PVC volume health annotation is considered stale and eligible for cleanup (default 2h0m0s)
-zap-devel
Development Mode defaults(encoder=consoleEncoder,logLevel=Debug,stackTraceLevel=Warn). Production Mode defaults(encoder=jsonEncoder,logLevel=Info,stackTraceLevel=Error) (default true)
-zap-encoder value
Zap log encoding (one of 'json' or 'console')
-zap-log-level value
Zap Level to configure the verbosity of logging. Can be one of 'debug', 'info', 'error', 'panic' or any integer value > 0 which corresponds to custom debug levels of increasing verbosity
-zap-stacktrace-level value
Zap Level at and above which stacktraces are captured (one of 'info', 'error', 'panic').
-zap-time-encoding value
Zap time encoding (one of 'epoch', 'millis', 'nano', 'iso8601', 'rfc3339' or 'rfc3339nano'). Defaults to 'epoch'.
Options (29)
| Option | Description | Source |
|---|---|---|
-automaxprocs | automatically set GOMAXPROCS to match Linux container CPU quota | help |
-cronjob-stagger-window int | Duration, in hours, that the CronJobs for KeyRotation and ReclaimSpace are staggered within. | help |
-csi-addons-node-retry-delay int | Duration, in seconds, the CSIAddonsNode reconciler must wait before retrying the connection to csi-addons sidecar (default 5) | help |
-enable-admission-webhooks | [DEPRECATED] Enable the admission webhooks | help |
-enable-auth | Enables TLS and adds bearer token to the headers (enabled by default) (default true) | help |
-enable-http2 | If set, HTTP/2 will be enabled for the metrics and webhook servers | help |
-enable-volume-health-cleanup | Enable stale PVC volume health annotation cleanup worker (default true) | help |
-health-probe-bind-address string | The address the probe endpoint binds to. | help |
-kubeconfig string | Paths to a kubeconfig. | help |
-leader-elect | Enable leader election for controller manager. | help |
-leader-election-lease-duration duration | Duration, in seconds, that non-leader candidates will wait to force acquire leadership. | help |
-leader-election-renew-deadline duration | Duration, in seconds, that the acting leader will retry refreshing leadership before giving up. | help |
-leader-election-retry-period duration | Duration, in seconds, the LeaderElector clients should wait between tries of actions. | help |
-max-concurrent-reconciles int | Maximum number of concurrent reconciles (default 100) | help |
-max-group-pvc int | Maximum number of PVCs allowed in a volume group (default 100) | help |
-metrics-bind-address string | The address the metrics endpoint binds to. | help |
-metrics-secure | If set, the metrics endpoint is served securely via HTTPS. | help |
-namespace string | Namespace where the CSIAddons pod is deployed (default "csi-addons-system") | help |
-reclaim-space-timeout duration | Timeout for reclaimspace operation (default 3m0s) | help |
-schedule-precedence string | The order of precedence in which schedule of reclaimspace and keyrotation is considered. | help |
-v value | Alias for --zap-log-level, accepts klog-style verbosity (e.g. -v=0, -v=3) | help |
-version | Print Version details | help |
-volume-health-cleanup-interval duration | Interval at which stale PVC volume health annotations are scanned and cleaned up (default 30m0s) | help |
-volume-health-stale-threshold duration | Age after which a PVC volume health annotation is considered stale and eligible for cleanup (default 2h0m0s) | help |
-zap-devel | Development Mode defaults(encoder=consoleEncoder,logLevel=Debug,stackTraceLevel=Warn). | help |
-zap-encoder value | Zap log encoding (one of 'json' or 'console') | help |
-zap-log-level value | Zap Level to configure the verbosity of logging. | help |
-zap-stacktrace-level value | Zap Level at and above which stacktraces are captured (one of 'info', 'error', 'panic'). | help |
-zap-time-encoding value | Zap time encoding (one of 'epoch', 'millis', 'nano', 'iso8601', 'rfc3339' or 'rfc3339nano'). | help |