Merge pull request #34232 from tengqm/zh-34221-task-2

[zh] resync tasks files (task-2)
This commit is contained in:
Kubernetes Prow Robot
2022-06-12 19:38:10 -07:00
committed by GitHub
4 changed files with 10 additions and 10 deletions
@@ -39,7 +39,8 @@ It does not mean that there is a file named `kubeconfig`.
<!--
{{< 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.
{{< /warning>}}
-->
@@ -396,7 +397,7 @@ For example:
### Linux
```shell
export KUBECONFIG_SAVED=$KUBECONFIG
export KUBECONFIG_SAVED="$KUBECONFIG"
```
### Windows PowerShell
@@ -422,7 +423,7 @@ Temporarily append two paths to your `KUBECONFIG` environment variable. For exam
### Linux
```shell
export KUBECONFIG=$KUBECONFIG:config-demo:config-demo-2
export KUBECONFIG="${KUBECONFIG}:config-demo:config-demo-2"
```
### Windows PowerShell
@@ -516,7 +517,7 @@ For example:
### Linux
```shell
export KUBECONFIG=$KUBECONFIG:$HOME/.kube/config
export KUBECONFIG="${KUBECONFIG}:$HOME/.kube/config"
```
### Windows Powershell
@@ -547,7 +548,7 @@ Return your `KUBECONFIG` environment variable to its original value. For example
### Linux
```shell
export KUBECONFIG=$KUBECONFIG_SAVED
export KUBECONFIG="$KUBECONFIG_SAVED"
```
### Windows PowerShell