make kubectl config behave more expectedly

This commit is contained in:
deads2k
2015-04-08 10:32:32 -04:00
parent 2215a64567
commit b2e3f2185e
30 changed files with 688 additions and 305 deletions

View File

@@ -1,11 +1,11 @@
## kubectl config set-cluster
Sets a cluster entry in .kubeconfig
Sets a cluster entry in kubeconfig
### Synopsis
Sets a cluster entry in .kubeconfig.
Sets a cluster entry in kubeconfig.
Specifying a name that already exists will merge new fields on top of existing values for those fields.
```
@@ -28,12 +28,12 @@ $ kubectl config set-cluster e2e --insecure-skip-tls-verify=true
### Options
```
--api-version=: api-version for the cluster entry in .kubeconfig
--certificate-authority=: path to certificate-authority for the cluster entry in .kubeconfig
--embed-certs=false: embed-certs for the cluster entry in .kubeconfig
--api-version=: api-version for the cluster entry in kubeconfig
--certificate-authority=: path to certificate-authority for the cluster entry in kubeconfig
--embed-certs=false: embed-certs for the cluster entry in kubeconfig
-h, --help=false: help for set-cluster
--insecure-skip-tls-verify=false: insecure-skip-tls-verify for the cluster entry in .kubeconfig
--server=: server for the cluster entry in .kubeconfig
--insecure-skip-tls-verify=false: insecure-skip-tls-verify for the cluster entry in kubeconfig
--server=: server for the cluster entry in kubeconfig
```
### Options inherrited from parent commands
@@ -45,10 +45,10 @@ $ kubectl config set-cluster e2e --insecure-skip-tls-verify=true
--client-key="": Path to a client key file for TLS.
--cluster="": The name of the kubeconfig cluster to use
--context="": The name of the kubeconfig context to use
--envvar=false: use the .kubeconfig from $KUBECONFIG
--global=false: use the .kubeconfig from /home/username
--kubeconfig="": use a particular .kubeconfig file
--local=false: use the .kubeconfig in the current directory
--envvar=false: use the kubeconfig from $KUBECONFIG
--global=false: use the kubeconfig from /home/username/.kube/.kubeconfig
--kubeconfig="": use a particular kubeconfig file
--local=false: use the kubeconfig in the current directory
--log_backtrace_at=:0: when logging hits line file:N, emit a stack trace
--log_dir=: If non-empty, write log files in this directory
--log_flush_frequency=5s: Maximum number of seconds between log flushes

View File

@@ -1,11 +1,11 @@
## kubectl config set-context
Sets a context entry in .kubeconfig
Sets a context entry in kubeconfig
### Synopsis
Sets a context entry in .kubeconfig
Sets a context entry in kubeconfig
Specifying a name that already exists will merge new fields on top of existing values for those fields.
```
@@ -22,10 +22,10 @@ $ kubectl config set-context gce --user=cluster-admin
### Options
```
--cluster=: cluster for the context entry in .kubeconfig
--cluster=: cluster for the context entry in kubeconfig
-h, --help=false: help for set-context
--namespace=: namespace for the context entry in .kubeconfig
--user=: user for the context entry in .kubeconfig
--namespace=: namespace for the context entry in kubeconfig
--user=: user for the context entry in kubeconfig
```
### Options inherrited from parent commands
@@ -38,11 +38,11 @@ $ kubectl config set-context gce --user=cluster-admin
--client-certificate="": Path to a client key file for TLS.
--client-key="": Path to a client key file for TLS.
--context="": The name of the kubeconfig context to use
--envvar=false: use the .kubeconfig from $KUBECONFIG
--global=false: use the .kubeconfig from /home/username
--envvar=false: use the kubeconfig from $KUBECONFIG
--global=false: use the kubeconfig from /home/username/.kube/.kubeconfig
--insecure-skip-tls-verify=false: If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.
--kubeconfig="": use a particular .kubeconfig file
--local=false: use the .kubeconfig in the current directory
--kubeconfig="": use a particular kubeconfig file
--local=false: use the kubeconfig in the current directory
--log_backtrace_at=:0: when logging hits line file:N, emit a stack trace
--log_dir=: If non-empty, write log files in this directory
--log_flush_frequency=5s: Maximum number of seconds between log flushes

View File

@@ -1,11 +1,11 @@
## kubectl config set-credentials
Sets a user entry in .kubeconfig
Sets a user entry in kubeconfig
### Synopsis
Sets a user entry in .kubeconfig
Sets a user entry in kubeconfig
Specifying a name that already exists will merge new fields on top of existing values.
Client-certificate flags:
@@ -41,14 +41,14 @@ $ kubectl set-credentials cluster-admin --client-certificate=~/.kube/admin.crt -
### Options
```
--auth-path=: auth-path for the user entry in .kubeconfig
--client-certificate=: path to client-certificate for the user entry in .kubeconfig
--client-key=: path to client-key for the user entry in .kubeconfig
--embed-certs=false: embed client cert/key for the user entry in .kubeconfig
--auth-path=: auth-path for the user entry in kubeconfig
--client-certificate=: path to client-certificate for the user entry in kubeconfig
--client-key=: path to client-key for the user entry in kubeconfig
--embed-certs=false: embed client cert/key for the user entry in kubeconfig
-h, --help=false: help for set-credentials
--password=: password for the user entry in .kubeconfig
--token=: token for the user entry in .kubeconfig
--username=: username for the user entry in .kubeconfig
--password=: password for the user entry in kubeconfig
--token=: token for the user entry in kubeconfig
--username=: username for the user entry in kubeconfig
```
### Options inherrited from parent commands
@@ -59,11 +59,11 @@ $ kubectl set-credentials cluster-admin --client-certificate=~/.kube/admin.crt -
--certificate-authority="": Path to a cert. file for the certificate authority.
--cluster="": The name of the kubeconfig cluster to use
--context="": The name of the kubeconfig context to use
--envvar=false: use the .kubeconfig from $KUBECONFIG
--global=false: use the .kubeconfig from /home/username
--envvar=false: use the kubeconfig from $KUBECONFIG
--global=false: use the kubeconfig from /home/username/.kube/.kubeconfig
--insecure-skip-tls-verify=false: If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.
--kubeconfig="": use a particular .kubeconfig file
--local=false: use the .kubeconfig in the current directory
--kubeconfig="": use a particular kubeconfig file
--local=false: use the kubeconfig in the current directory
--log_backtrace_at=:0: when logging hits line file:N, emit a stack trace
--log_dir=: If non-empty, write log files in this directory
--log_flush_frequency=5s: Maximum number of seconds between log flushes

View File

@@ -1,11 +1,11 @@
## kubectl config set
Sets an individual value in a .kubeconfig file
Sets an individual value in a kubeconfig file
### Synopsis
Sets an individual value in a .kubeconfig file
Sets an individual value in a kubeconfig file
PROPERTY_NAME is a dot delimited name where each token represents either a attribute name or a map key. Map keys may not contain dots.
PROPERTY_VALUE is the new value you wish to set.
@@ -30,11 +30,11 @@ kubectl config set PROPERTY_NAME PROPERTY_VALUE
--client-key="": Path to a client key file for TLS.
--cluster="": The name of the kubeconfig cluster to use
--context="": The name of the kubeconfig context to use
--envvar=false: use the .kubeconfig from $KUBECONFIG
--global=false: use the .kubeconfig from /home/username
--envvar=false: use the kubeconfig from $KUBECONFIG
--global=false: use the kubeconfig from /home/username/.kube/.kubeconfig
--insecure-skip-tls-verify=false: If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.
--kubeconfig="": use a particular .kubeconfig file
--local=false: use the .kubeconfig in the current directory
--kubeconfig="": use a particular kubeconfig file
--local=false: use the kubeconfig in the current directory
--log_backtrace_at=:0: when logging hits line file:N, emit a stack trace
--log_dir=: If non-empty, write log files in this directory
--log_flush_frequency=5s: Maximum number of seconds between log flushes

View File

@@ -1,11 +1,11 @@
## kubectl config unset
Unsets an individual value in a .kubeconfig file
Unsets an individual value in a kubeconfig file
### Synopsis
Unsets an individual value in a .kubeconfig file
Unsets an individual value in a kubeconfig file
PROPERTY_NAME is a dot delimited name where each token represents either a attribute name or a map key. Map keys may not contain dots.
```
@@ -29,11 +29,11 @@ kubectl config unset PROPERTY_NAME
--client-key="": Path to a client key file for TLS.
--cluster="": The name of the kubeconfig cluster to use
--context="": The name of the kubeconfig context to use
--envvar=false: use the .kubeconfig from $KUBECONFIG
--global=false: use the .kubeconfig from /home/username
--envvar=false: use the kubeconfig from $KUBECONFIG
--global=false: use the kubeconfig from /home/username/.kube/.kubeconfig
--insecure-skip-tls-verify=false: If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.
--kubeconfig="": use a particular .kubeconfig file
--local=false: use the .kubeconfig in the current directory
--kubeconfig="": use a particular kubeconfig file
--local=false: use the kubeconfig in the current directory
--log_backtrace_at=:0: when logging hits line file:N, emit a stack trace
--log_dir=: If non-empty, write log files in this directory
--log_flush_frequency=5s: Maximum number of seconds between log flushes

View File

@@ -1,11 +1,11 @@
## kubectl config use-context
Sets the current-context in a .kubeconfig file
Sets the current-context in a kubeconfig file
### Synopsis
Sets the current-context in a .kubeconfig file
Sets the current-context in a kubeconfig file
```
kubectl config use-context CONTEXT_NAME
@@ -28,11 +28,11 @@ kubectl config use-context CONTEXT_NAME
--client-key="": Path to a client key file for TLS.
--cluster="": The name of the kubeconfig cluster to use
--context="": The name of the kubeconfig context to use
--envvar=false: use the .kubeconfig from $KUBECONFIG
--global=false: use the .kubeconfig from /home/username
--envvar=false: use the kubeconfig from $KUBECONFIG
--global=false: use the kubeconfig from /home/username/.kube/.kubeconfig
--insecure-skip-tls-verify=false: If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.
--kubeconfig="": use a particular .kubeconfig file
--local=false: use the .kubeconfig in the current directory
--kubeconfig="": use a particular kubeconfig file
--local=false: use the kubeconfig in the current directory
--log_backtrace_at=:0: when logging hits line file:N, emit a stack trace
--log_dir=: If non-empty, write log files in this directory
--log_flush_frequency=5s: Maximum number of seconds between log flushes

View File

@@ -1,11 +1,11 @@
## kubectl config view
displays merged .kubeconfig settings or a specified .kubeconfig file.
displays merged kubeconfig settings or a specified kubeconfig file.
### Synopsis
displays merged .kubeconfig settings or a specified .kubeconfig file.
displays merged kubeconfig settings or a specified kubeconfig file.
You can use --output=template --template=TEMPLATE to extract specific values.
@@ -16,10 +16,10 @@ kubectl config view
### Examples
```
// Show merged .kubeconfig settings.
// Show merged kubeconfig settings.
$ kubectl config view
// Show only local ./.kubeconfig settings
// Show only local kubeconfig settings
$ kubectl config view --local
// Get the password for the e2e user
@@ -30,7 +30,7 @@ $ kubectl config view -o template --template='{{range .users}}{{ if eq .name "e2
```
-h, --help=false: help for view
--merge=true: merge together the full hierarchy of .kubeconfig files
--merge=true: merge together the full hierarchy of kubeconfig files
--no-headers=false: When using the default output, don't print headers.
-o, --output="": Output format. One of: json|yaml|template|templatefile.
--output-version="": Output the formatted object with the given version (default api-version).
@@ -48,11 +48,11 @@ $ kubectl config view -o template --template='{{range .users}}{{ if eq .name "e2
--client-key="": Path to a client key file for TLS.
--cluster="": The name of the kubeconfig cluster to use
--context="": The name of the kubeconfig context to use
--envvar=false: use the .kubeconfig from $KUBECONFIG
--global=false: use the .kubeconfig from /home/username
--envvar=false: use the kubeconfig from $KUBECONFIG
--global=false: use the kubeconfig from /home/username/.kube/.kubeconfig
--insecure-skip-tls-verify=false: If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.
--kubeconfig="": use a particular .kubeconfig file
--local=false: use the .kubeconfig in the current directory
--kubeconfig="": use a particular kubeconfig file
--local=false: use the kubeconfig in the current directory
--log_backtrace_at=:0: when logging hits line file:N, emit a stack trace
--log_dir=: If non-empty, write log files in this directory
--log_flush_frequency=5s: Maximum number of seconds between log flushes

View File

@@ -1,11 +1,11 @@
## kubectl config
config modifies .kubeconfig files
config modifies kubeconfig files
### Synopsis
config modifies .kubeconfig files using subcommands like "kubectl config set current-context my-context"
config modifies kubeconfig files using subcommands like "kubectl config set current-context my-context"
```
kubectl config SUBCOMMAND
@@ -14,11 +14,11 @@ kubectl config SUBCOMMAND
### Options
```
--envvar=false: use the .kubeconfig from $KUBECONFIG
--global=false: use the .kubeconfig from /home/username
--envvar=false: use the kubeconfig from $KUBECONFIG
--global=false: use the kubeconfig from /home/username/.kube/.kubeconfig
-h, --help=false: help for config
--kubeconfig="": use a particular .kubeconfig file
--local=false: use the .kubeconfig in the current directory
--kubeconfig="": use a particular kubeconfig file
--local=false: use the kubeconfig in the current directory
```
### Options inherrited from parent commands

View File

@@ -3,7 +3,7 @@
.SH NAME
.PP
kubectl config set\-cluster \- Sets a cluster entry in .kubeconfig
kubectl config set\-cluster \- Sets a cluster entry in kubeconfig
.SH SYNOPSIS
@@ -13,22 +13,22 @@ kubectl config set\-cluster \- Sets a cluster entry in .kubeconfig
.SH DESCRIPTION
.PP
Sets a cluster entry in .kubeconfig.
Sets a cluster entry in kubeconfig.
Specifying a name that already exists will merge new fields on top of existing values for those fields.
.SH OPTIONS
.PP
\fB\-\-api\-version\fP=""
api\-version for the cluster entry in .kubeconfig
api\-version for the cluster entry in kubeconfig
.PP
\fB\-\-certificate\-authority\fP=""
path to certificate\-authority for the cluster entry in .kubeconfig
path to certificate\-authority for the cluster entry in kubeconfig
.PP
\fB\-\-embed\-certs\fP=false
embed\-certs for the cluster entry in .kubeconfig
embed\-certs for the cluster entry in kubeconfig
.PP
\fB\-h\fP, \fB\-\-help\fP=false
@@ -36,11 +36,11 @@ Specifying a name that already exists will merge new fields on top of existing v
.PP
\fB\-\-insecure\-skip\-tls\-verify\fP=false
insecure\-skip\-tls\-verify for the cluster entry in .kubeconfig
insecure\-skip\-tls\-verify for the cluster entry in kubeconfig
.PP
\fB\-\-server\fP=""
server for the cluster entry in .kubeconfig
server for the cluster entry in kubeconfig
.SH OPTIONS INHERITED FROM PARENT COMMANDS
@@ -70,19 +70,19 @@ Specifying a name that already exists will merge new fields on top of existing v
.PP
\fB\-\-envvar\fP=false
use the .kubeconfig from $KUBECONFIG
use the kubeconfig from $KUBECONFIG
.PP
\fB\-\-global\fP=false
use the .kubeconfig from /home/username
use the kubeconfig from /home/username/.kube/.kubeconfig
.PP
\fB\-\-kubeconfig\fP=""
use a particular .kubeconfig file
use a particular kubeconfig file
.PP
\fB\-\-local\fP=false
use the .kubeconfig in the current directory
use the kubeconfig in the current directory
.PP
\fB\-\-log\_backtrace\_at\fP=:0

View File

@@ -3,7 +3,7 @@
.SH NAME
.PP
kubectl config set\-context \- Sets a context entry in .kubeconfig
kubectl config set\-context \- Sets a context entry in kubeconfig
.SH SYNOPSIS
@@ -13,14 +13,14 @@ kubectl config set\-context \- Sets a context entry in .kubeconfig
.SH DESCRIPTION
.PP
Sets a context entry in .kubeconfig
Sets a context entry in kubeconfig
Specifying a name that already exists will merge new fields on top of existing values for those fields.
.SH OPTIONS
.PP
\fB\-\-cluster\fP=""
cluster for the context entry in .kubeconfig
cluster for the context entry in kubeconfig
.PP
\fB\-h\fP, \fB\-\-help\fP=false
@@ -28,11 +28,11 @@ Specifying a name that already exists will merge new fields on top of existing v
.PP
\fB\-\-namespace\fP=""
namespace for the context entry in .kubeconfig
namespace for the context entry in kubeconfig
.PP
\fB\-\-user\fP=""
user for the context entry in .kubeconfig
user for the context entry in kubeconfig
.SH OPTIONS INHERITED FROM PARENT COMMANDS
@@ -66,11 +66,11 @@ Specifying a name that already exists will merge new fields on top of existing v
.PP
\fB\-\-envvar\fP=false
use the .kubeconfig from $KUBECONFIG
use the kubeconfig from $KUBECONFIG
.PP
\fB\-\-global\fP=false
use the .kubeconfig from /home/username
use the kubeconfig from /home/username/.kube/.kubeconfig
.PP
\fB\-\-insecure\-skip\-tls\-verify\fP=false
@@ -78,11 +78,11 @@ Specifying a name that already exists will merge new fields on top of existing v
.PP
\fB\-\-kubeconfig\fP=""
use a particular .kubeconfig file
use a particular kubeconfig file
.PP
\fB\-\-local\fP=false
use the .kubeconfig in the current directory
use the kubeconfig in the current directory
.PP
\fB\-\-log\_backtrace\_at\fP=:0

View File

@@ -3,7 +3,7 @@
.SH NAME
.PP
kubectl config set\-credentials \- Sets a user entry in .kubeconfig
kubectl config set\-credentials \- Sets a user entry in kubeconfig
.SH SYNOPSIS
@@ -13,7 +13,7 @@ kubectl config set\-credentials \- Sets a user entry in .kubeconfig
.SH DESCRIPTION
.PP
Sets a user entry in .kubeconfig
Sets a user entry in kubeconfig
Specifying a name that already exists will merge new fields on top of existing values.
.PP
@@ -35,19 +35,19 @@ Bearer token and basic auth are mutually exclusive.
.SH OPTIONS
.PP
\fB\-\-auth\-path\fP=""
auth\-path for the user entry in .kubeconfig
auth\-path for the user entry in kubeconfig
.PP
\fB\-\-client\-certificate\fP=""
path to client\-certificate for the user entry in .kubeconfig
path to client\-certificate for the user entry in kubeconfig
.PP
\fB\-\-client\-key\fP=""
path to client\-key for the user entry in .kubeconfig
path to client\-key for the user entry in kubeconfig
.PP
\fB\-\-embed\-certs\fP=false
embed client cert/key for the user entry in .kubeconfig
embed client cert/key for the user entry in kubeconfig
.PP
\fB\-h\fP, \fB\-\-help\fP=false
@@ -55,15 +55,15 @@ Bearer token and basic auth are mutually exclusive.
.PP
\fB\-\-password\fP=""
password for the user entry in .kubeconfig
password for the user entry in kubeconfig
.PP
\fB\-\-token\fP=""
token for the user entry in .kubeconfig
token for the user entry in kubeconfig
.PP
\fB\-\-username\fP=""
username for the user entry in .kubeconfig
username for the user entry in kubeconfig
.SH OPTIONS INHERITED FROM PARENT COMMANDS
@@ -89,11 +89,11 @@ Bearer token and basic auth are mutually exclusive.
.PP
\fB\-\-envvar\fP=false
use the .kubeconfig from $KUBECONFIG
use the kubeconfig from $KUBECONFIG
.PP
\fB\-\-global\fP=false
use the .kubeconfig from /home/username
use the kubeconfig from /home/username/.kube/.kubeconfig
.PP
\fB\-\-insecure\-skip\-tls\-verify\fP=false
@@ -101,11 +101,11 @@ Bearer token and basic auth are mutually exclusive.
.PP
\fB\-\-kubeconfig\fP=""
use a particular .kubeconfig file
use a particular kubeconfig file
.PP
\fB\-\-local\fP=false
use the .kubeconfig in the current directory
use the kubeconfig in the current directory
.PP
\fB\-\-log\_backtrace\_at\fP=:0

View File

@@ -3,7 +3,7 @@
.SH NAME
.PP
kubectl config set \- Sets an individual value in a .kubeconfig file
kubectl config set \- Sets an individual value in a kubeconfig file
.SH SYNOPSIS
@@ -13,7 +13,7 @@ kubectl config set \- Sets an individual value in a .kubeconfig file
.SH DESCRIPTION
.PP
Sets an individual value in a .kubeconfig file
Sets an individual value in a kubeconfig file
PROPERTY\_NAME is a dot delimited name where each token represents either a attribute name or a map key. Map keys may not contain dots.
PROPERTY\_VALUE is the new value you wish to set.
@@ -59,11 +59,11 @@ PROPERTY\_VALUE is the new value you wish to set.
.PP
\fB\-\-envvar\fP=false
use the .kubeconfig from $KUBECONFIG
use the kubeconfig from $KUBECONFIG
.PP
\fB\-\-global\fP=false
use the .kubeconfig from /home/username
use the kubeconfig from /home/username/.kube/.kubeconfig
.PP
\fB\-\-insecure\-skip\-tls\-verify\fP=false
@@ -71,11 +71,11 @@ PROPERTY\_VALUE is the new value you wish to set.
.PP
\fB\-\-kubeconfig\fP=""
use a particular .kubeconfig file
use a particular kubeconfig file
.PP
\fB\-\-local\fP=false
use the .kubeconfig in the current directory
use the kubeconfig in the current directory
.PP
\fB\-\-log\_backtrace\_at\fP=:0

View File

@@ -3,7 +3,7 @@
.SH NAME
.PP
kubectl config unset \- Unsets an individual value in a .kubeconfig file
kubectl config unset \- Unsets an individual value in a kubeconfig file
.SH SYNOPSIS
@@ -13,7 +13,7 @@ kubectl config unset \- Unsets an individual value in a .kubeconfig file
.SH DESCRIPTION
.PP
Unsets an individual value in a .kubeconfig file
Unsets an individual value in a kubeconfig file
PROPERTY\_NAME is a dot delimited name where each token represents either a attribute name or a map key. Map keys may not contain dots.
@@ -58,11 +58,11 @@ PROPERTY\_NAME is a dot delimited name where each token represents either a attr
.PP
\fB\-\-envvar\fP=false
use the .kubeconfig from $KUBECONFIG
use the kubeconfig from $KUBECONFIG
.PP
\fB\-\-global\fP=false
use the .kubeconfig from /home/username
use the kubeconfig from /home/username/.kube/.kubeconfig
.PP
\fB\-\-insecure\-skip\-tls\-verify\fP=false
@@ -70,11 +70,11 @@ PROPERTY\_NAME is a dot delimited name where each token represents either a attr
.PP
\fB\-\-kubeconfig\fP=""
use a particular .kubeconfig file
use a particular kubeconfig file
.PP
\fB\-\-local\fP=false
use the .kubeconfig in the current directory
use the kubeconfig in the current directory
.PP
\fB\-\-log\_backtrace\_at\fP=:0

View File

@@ -3,7 +3,7 @@
.SH NAME
.PP
kubectl config use\-context \- Sets the current\-context in a .kubeconfig file
kubectl config use\-context \- Sets the current\-context in a kubeconfig file
.SH SYNOPSIS
@@ -13,7 +13,7 @@ kubectl config use\-context \- Sets the current\-context in a .kubeconfig file
.SH DESCRIPTION
.PP
Sets the current\-context in a .kubeconfig file
Sets the current\-context in a kubeconfig file
.SH OPTIONS
@@ -57,11 +57,11 @@ Sets the current\-context in a .kubeconfig file
.PP
\fB\-\-envvar\fP=false
use the .kubeconfig from $KUBECONFIG
use the kubeconfig from $KUBECONFIG
.PP
\fB\-\-global\fP=false
use the .kubeconfig from /home/username
use the kubeconfig from /home/username/.kube/.kubeconfig
.PP
\fB\-\-insecure\-skip\-tls\-verify\fP=false
@@ -69,11 +69,11 @@ Sets the current\-context in a .kubeconfig file
.PP
\fB\-\-kubeconfig\fP=""
use a particular .kubeconfig file
use a particular kubeconfig file
.PP
\fB\-\-local\fP=false
use the .kubeconfig in the current directory
use the kubeconfig in the current directory
.PP
\fB\-\-log\_backtrace\_at\fP=:0

View File

@@ -3,7 +3,7 @@
.SH NAME
.PP
kubectl config view \- displays merged .kubeconfig settings or a specified .kubeconfig file.
kubectl config view \- displays merged kubeconfig settings or a specified kubeconfig file.
.SH SYNOPSIS
@@ -13,7 +13,7 @@ kubectl config view \- displays merged .kubeconfig settings or a specified .kube
.SH DESCRIPTION
.PP
displays merged .kubeconfig settings or a specified .kubeconfig file.
displays merged kubeconfig settings or a specified kubeconfig file.
.PP
You can use \-\-output=template \-\-template=TEMPLATE to extract specific values.
@@ -26,7 +26,7 @@ You can use \-\-output=template \-\-template=TEMPLATE to extract specific values
.PP
\fB\-\-merge\fP=true
merge together the full hierarchy of .kubeconfig files
merge together the full hierarchy of kubeconfig files
.PP
\fB\-\-no\-headers\fP=false
@@ -81,11 +81,11 @@ You can use \-\-output=template \-\-template=TEMPLATE to extract specific values
.PP
\fB\-\-envvar\fP=false
use the .kubeconfig from $KUBECONFIG
use the kubeconfig from $KUBECONFIG
.PP
\fB\-\-global\fP=false
use the .kubeconfig from /home/username
use the kubeconfig from /home/username/.kube/.kubeconfig
.PP
\fB\-\-insecure\-skip\-tls\-verify\fP=false
@@ -93,11 +93,11 @@ You can use \-\-output=template \-\-template=TEMPLATE to extract specific values
.PP
\fB\-\-kubeconfig\fP=""
use a particular .kubeconfig file
use a particular kubeconfig file
.PP
\fB\-\-local\fP=false
use the .kubeconfig in the current directory
use the kubeconfig in the current directory
.PP
\fB\-\-log\_backtrace\_at\fP=:0
@@ -165,10 +165,10 @@ You can use \-\-output=template \-\-template=TEMPLATE to extract specific values
.RS
.nf
// Show merged .kubeconfig settings.
// Show merged kubeconfig settings.
$ kubectl config view
// Show only local ./.kubeconfig settings
// Show only local kubeconfig settings
$ kubectl config view \-\-local
// Get the password for the e2e user

View File

@@ -3,7 +3,7 @@
.SH NAME
.PP
kubectl config \- config modifies .kubeconfig files
kubectl config \- config modifies kubeconfig files
.SH SYNOPSIS
@@ -13,17 +13,17 @@ kubectl config \- config modifies .kubeconfig files
.SH DESCRIPTION
.PP
config modifies .kubeconfig files using subcommands like "kubectl config set current\-context my\-context"
config modifies kubeconfig files using subcommands like "kubectl config set current\-context my\-context"
.SH OPTIONS
.PP
\fB\-\-envvar\fP=false
use the .kubeconfig from $KUBECONFIG
use the kubeconfig from $KUBECONFIG
.PP
\fB\-\-global\fP=false
use the .kubeconfig from /home/username
use the kubeconfig from /home/username/.kube/.kubeconfig
.PP
\fB\-h\fP, \fB\-\-help\fP=false
@@ -31,11 +31,11 @@ config modifies .kubeconfig files using subcommands like "kubectl config set cur
.PP
\fB\-\-kubeconfig\fP=""
use a particular .kubeconfig file
use a particular kubeconfig file
.PP
\fB\-\-local\fP=false
use the .kubeconfig in the current directory
use the kubeconfig in the current directory
.SH OPTIONS INHERITED FROM PARENT COMMANDS