Docs fix for kubectl proxy configuration
Follow-up to https://github.com/kubernetes/website/pull/32245
This commit is contained in:
@@ -18,7 +18,7 @@ It does not mean that there is a file named `kubeconfig`.
|
|||||||
{{< /note >}}
|
{{< /note >}}
|
||||||
|
|
||||||
{{< warning >}}
|
{{< warning >}}
|
||||||
Only use kubeconfig files from trusted sources. Using a specially-crafted kubeconfig file could result in malicious code execution or file exposure.
|
Only use kubeconfig files from trusted sources. Using a specially-crafted kubeconfig file could result in malicious code execution or file exposure.
|
||||||
If you must use an untrusted kubeconfig file, inspect it carefully first, much as you would a shell script.
|
If you must use an untrusted kubeconfig file, inspect it carefully first, much as you would a shell script.
|
||||||
{{< /warning>}}
|
{{< /warning>}}
|
||||||
|
|
||||||
@@ -53,7 +53,7 @@ clusters and namespaces.
|
|||||||
A *context* element in a kubeconfig file is used to group access parameters
|
A *context* element in a kubeconfig file is used to group access parameters
|
||||||
under a convenient name. Each context has three parameters: cluster, namespace, and user.
|
under a convenient name. Each context has three parameters: cluster, namespace, and user.
|
||||||
By default, the `kubectl` command-line tool uses parameters from
|
By default, the `kubectl` command-line tool uses parameters from
|
||||||
the *current context* to communicate with the cluster.
|
the *current context* to communicate with the cluster.
|
||||||
|
|
||||||
To choose the current context:
|
To choose the current context:
|
||||||
```
|
```
|
||||||
@@ -167,7 +167,7 @@ users:
|
|||||||
|
|
||||||
contexts:
|
contexts:
|
||||||
- context:
|
- context:
|
||||||
name: development
|
name: development
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user