Usage of /usr/bin/gke-gcloud-auth-plugin:
--account string Optional account to use for gcloud config command
--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 severity logs at or above this threshold go to stderr when -alsologtostderr=true (no effect when -logtostderr=true)
--cluster string Name of the Cluster (only applicable when '--use_edge_cloud' is enabled).
--impersonate_service_account string Impersonate a service account to retrieve tokens for the Cluster.
--legacy_stderr_threshold_behavior If true, stderrthreshold is ignored when logtostderr=true (legacy behavior). If false, stderrthreshold is honored even when logtostderr=true
--location string Location of the Cluster (only applicable when '--use_edge_cloud' is enabled).
--log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
--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)
--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)
--project string Parent project of the Cluster (mandatory when using --use_edge_cloud, optional otherwise).
--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 severity 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)
--use_application_default_credentials[=true|false] Output is an ExecCredential filled with application default credentials.
--use_edge_cloud[=true|false] Output is an ExecCredential for an Edge Cloud cluster.
-v, --v Level number for the log level verbosity
--version[=true] --version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version
--vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging
Options (23)
| Option | Description | Source |
|---|---|---|
--account string | Optional account to use for gcloud config command | help |
--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 severity | logs at or above this threshold go to stderr when -alsologtostderr=true (no effect when -logtostderr=true) | help |
--cluster string | Name of the Cluster (only applicable when '--use_edge_cloud' is enabled). | help |
--impersonate_service_account string | Impersonate a service account to retrieve tokens for the Cluster. | help |
--legacy_stderr_threshold_behavior | If true, stderrthreshold is ignored when logtostderr=true (legacy behavior). | help |
--location string | Location of the Cluster (only applicable when '--use_edge_cloud' is enabled). | help |
--log_backtrace_at traceLocation | when logging hits line file:N, emit a stack trace (default :0) | 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 |
--one_output | If true, only write logs to their native severity level (vs also writing to each lower severity level; | help |
--project string | Parent project of the Cluster (mandatory when using --use_edge_cloud, optional otherwise). | 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 severity | 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) | help |
--use_application_default_credentials true|false | Output is an ExecCredential filled with application default credentials. | help |
--use_edge_cloud true|false | Output is an ExecCredential for an Edge Cloud cluster. | help |
-v, --v Level | number for the log level verbosity | help |
--version true | --version, --version=raw prints version information and quits; | help |
--vmodule moduleSpec | comma-separated list of pattern=N settings for file-filtered logging | help |