Table 4.13. kubectl tungsten Global Flags
Option | Description |
---|---|
--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) |
--as-group | Group to impersonate for the operation, this flag can be repeated to specify multiple groups. |
--as-uid | UID to impersonate for the operation. |
--as | Username to impersonate for the operation. User could be a regular user or a service account in a namespace. |
--cache-dir string | Default cache directory (default '$HOME/.kube/cache') |
--certificate-authority | Path to a cert file for the certificate authority |
--client-certificate | Path to a client certificate file for TLS |
--client-key | Path to a client key file for TLS |
--context | The name of the kubeconfig context to use |
--disable-compression | If true, opt-out of response compression for all requests to the server |
--insecure-skip-tls-verify | If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure |
--cluster | The name of the kubeconfig cluster to use |
--kubeconfig | Path to the kubeconfig file to use for CLI requests. |
--user | The name of the kubeconfig user to use |
--log_backtrace_at | when logging hits line file:N, emit a stack trace (default :0) |
--log_dir | If non-empty, write log files in this directory (no effect when -logtostderr=true) |
--log_file | If non-empty, use this log file (no effect when -logtostderr=true) |
--log_file_max_size | 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 , -n | If present, the namespace scope for this CLI request |
--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) |
--request-timeout | The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests. (default 0) |
-s , --server | The address and port of the Kubernetes API server |
--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 | 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) |
--tls-server-name | Server name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used |
--token | Bearer token for authentication to the API server |
-v [Level] , --v [Level] | Number for the log level verbosity |
--vmodule moduleSpec | Comma-separated list of pattern=N settings for file-filtered logging |