Fix links:authenticate-across-clusters-kubeconfig.md
Fix links:authenticate-across-clusters-kubeconfig.mdreviewable/pr3423/r1
parent
9b1b027c97
commit
814392dcc9
|
@ -88,7 +88,7 @@ authority or `insecure-skip-tls-verify: true`, if the cluster's serving
|
||||||
certificate is not signed by a system trusted certificate authority.
|
certificate is not signed by a system trusted certificate authority.
|
||||||
A `cluster` has a name (nickname) which acts as a dictionary key for the cluster
|
A `cluster` has a name (nickname) which acts as a dictionary key for the cluster
|
||||||
within this kubeconfig file. You can add or modify `cluster` entries using
|
within this kubeconfig file. You can add or modify `cluster` entries using
|
||||||
[`kubectl config set-cluster`](/docs/user-guide/kubectl/kubectl_config_set-cluster/).
|
[`kubectl config set-cluster`](/docs/user-guide/kubectl/v1.6/#-em-set-cluster-em-).
|
||||||
|
|
||||||
#### user
|
#### user
|
||||||
|
|
||||||
|
@ -109,7 +109,7 @@ after kubeconfig is loaded/merged. Available credentials are `client-certificate
|
||||||
`client-key`, `token`, and `username/password`. `username/password` and `token`
|
`client-key`, `token`, and `username/password`. `username/password` and `token`
|
||||||
are mutually exclusive, but client certs and keys can be combined with them.
|
are mutually exclusive, but client certs and keys can be combined with them.
|
||||||
You can add or modify `user` entries using
|
You can add or modify `user` entries using
|
||||||
[`kubectl config set-credentials`](/docs/user-guide/kubectl/kubectl_config_set-credentials).
|
[`kubectl config set-credentials`](/docs/user-guide/kubectl/v1.6/#-em-set-credentials-em-).
|
||||||
|
|
||||||
#### context
|
#### context
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@ namespace. Each of the three is optional; it is valid to specify a context with
|
||||||
`user`,`namespace`, or to specify none. Unspecified values, or named values that don't have corresponding
|
`user`,`namespace`, or to specify none. Unspecified values, or named values that don't have corresponding
|
||||||
entries in the loaded kubeconfig (e.g. if the context specified a `pink-user` for the above kubeconfig file)
|
entries in the loaded kubeconfig (e.g. if the context specified a `pink-user` for the above kubeconfig file)
|
||||||
will be replaced with the default. See [Loading and merging rules](#loading-and-merging) below for override/merge behavior.
|
will be replaced with the default. See [Loading and merging rules](#loading-and-merging) below for override/merge behavior.
|
||||||
You can add or modify `context` entries with [`kubectl config set-context`](/docs/user-guide/kubectl/kubectl_config_set-context).
|
You can add or modify `context` entries with [`kubectl config set-context`](/docs/user-guide/kubectl/v1.6/#-em-set-context-em-).
|
||||||
|
|
||||||
#### current-context
|
#### current-context
|
||||||
|
|
||||||
|
@ -139,7 +139,7 @@ current-context: federal-context
|
||||||
`current-context` is the nickname or 'key' for the cluster,user,namespace tuple that kubectl
|
`current-context` is the nickname or 'key' for the cluster,user,namespace tuple that kubectl
|
||||||
will use by default when loading config from this file. You can override any of the values in kubectl
|
will use by default when loading config from this file. You can override any of the values in kubectl
|
||||||
from the commandline, by passing `--context=CONTEXT`, `--cluster=CLUSTER`, `--user=USER`, and/or `--namespace=NAMESPACE` respectively.
|
from the commandline, by passing `--context=CONTEXT`, `--cluster=CLUSTER`, `--user=USER`, and/or `--namespace=NAMESPACE` respectively.
|
||||||
You can change the `current-context` with [`kubectl config use-context`](/docs/user-guide/kubectl/kubectl_config_use-context).
|
You can change the `current-context` with [`kubectl config use-context`](/docs/user-guide/kubectl/v1.6/#-em-use-context-em-).
|
||||||
|
|
||||||
#### miscellaneous
|
#### miscellaneous
|
||||||
|
|
||||||
|
@ -160,7 +160,7 @@ be edited manually.
|
||||||
`kubectl config view` will display the current kubeconfig settings. By default
|
`kubectl config view` will display the current kubeconfig settings. By default
|
||||||
it will show you all loaded kubeconfig settings; you can filter the view to just
|
it will show you all loaded kubeconfig settings; you can filter the view to just
|
||||||
the settings relevant to the `current-context` by passing `--minify`. See
|
the settings relevant to the `current-context` by passing `--minify`. See
|
||||||
[`kubectl config view`](/docs/user-guide/kubectl/kubectl_config_view) for other options.
|
[`kubectl config view`](/docs/user-guide/kubectl/v1.6/#-em-view-em-) for other options.
|
||||||
|
|
||||||
## Building your own kubeconfig file
|
## Building your own kubeconfig file
|
||||||
|
|
||||||
|
@ -228,7 +228,7 @@ Any path in a kubeconfig file is resolved relative to the location of the kubeco
|
||||||
## Manipulation of kubeconfig via `kubectl config <subcommand>`
|
## Manipulation of kubeconfig via `kubectl config <subcommand>`
|
||||||
|
|
||||||
In order to more easily manipulate kubeconfig files, there are a series of subcommands to `kubectl config` to help.
|
In order to more easily manipulate kubeconfig files, there are a series of subcommands to `kubectl config` to help.
|
||||||
See [kubectl/kubectl_config](/docs/user-guide/kubectl/kubectl_config) for help.
|
See [kubectl/kubectl_config](/docs/user-guide/kubectl/v1.6/#config) for help.
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue