Usage of /usr/bin/controller:
-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)
-cluster string
Defaults to the current cluster in kubeconfig.
-disable-ha
Whether to disable high-availability functionality for this component. This flag will be deprecated and removed when we have promoted this feature to stable, so do not pass it without filing an issue upstream!
-entrypoint-image string
The container image containing our entrypoint binary.
-kube-api-burst int
Maximum burst for throttle.
-kube-api-qps float
Maximum QPS to the server from the client.
-kubeconfig string
Path 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)
-logtostderr
log to standard error instead of files (default true)
-namespace string
Namespace to restrict informer to. Optional, defaults to all namespaces.
-nop-image string
The container image used to stop sidecars
-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
The period between two resync run (going through all objects) (default 10h0m0s)
-server string
The address of the Kubernetes API server. Overrides any value in kubeconfig. Only required if out-of-cluster.
-shell-image string
The container image containing a shell
-shell-image-win string
The container image containing a windows shell
-sidecarlogresults-image string
The container image containing the binary for accessing results.
-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)
-threads-per-controller int
Threads (goroutines) to create per controller (default 2)
-v value
number for the log level verbosity
-vmodule value
comma-separated list of pattern=N settings for file-filtered logging
-workingdirinit-image string
The container image containing our working dir init binary.
Options (30)
| 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 |
-cluster string | Defaults to the current cluster in kubeconfig. | help |
-disable-ha | Whether to disable high-availability functionality for this component. | help |
-entrypoint-image string | The container image containing our entrypoint binary. | help |
-kube-api-burst int | Maximum burst for throttle. | help |
-kube-api-qps float | Maximum QPS to the server from the client. | help |
-kubeconfig string | Path 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 |
-logtostderr | log to standard error instead of files (default true) | help |
-namespace string | Namespace to restrict informer to. | help |
-nop-image string | The container image used to stop sidecars | help |
-one_output | If true, only write logs to their native severity level (vs also writing to each lower severity level; | help |
-resync-period duration | The period between two resync run (going through all objects) (default 10h0m0s) | help |
-server string | The address of the Kubernetes API server. | help |
-shell-image string | The container image containing a shell | help |
-shell-image-win string | The container image containing a windows shell | help |
-sidecarlogresults-image string | The container image containing the binary for accessing results. | 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 unless -legacy_stderr_threshold_behavior=false) (default 2) | help |
-threads-per-controller int | Threads (goroutines) to create per controller (default 2) | help |
-v value | number for the log level verbosity | help |
-vmodule value | comma-separated list of pattern=N settings for file-filtered logging | help |
-workingdirinit-image string | The container image containing our working dir init binary. | help |