Updata content/ja/docs/tasks/access-application-cluster/configure-access-multiple-clusters.md

pull/24869/head
YukiKasuya 2020-08-28 12:52:49 +09:00 committed by inductor
parent c9ed105f44
commit 624d15cdc4
1 changed files with 6 additions and 4 deletions

View File

@ -21,7 +21,9 @@ card:
## {{% heading "prerequisites" %}}
{{< include "task-tutorial-prereqs.md" >}} {{< version-check >}}
{{< include "task-tutorial-prereqs.md" >}}
{{< glossary_tooltip text="kubectl" term_id="kubectl" >}}がインストールされているか確認するため、`kubectl version --client`を実行してください。kubectlのバージョンは、クラスタのAPIサーバの[1つ以内のバージョン](/ja/docs/setup/release/version-skew-policy/#kubectl)である必要があります。
@ -306,7 +308,7 @@ export KUBECONFIG=$KUBECONFIG:$HOME/.kube/config
```
### Windows Powershell
```shell
$Env:KUBECONFIG=($Env:KUBECONFIG;$HOME/.kube/config)
$Env:KUBECONFIG="$Env:KUBECONFIG;$HOME/.kube/config"
```
`KUBECONFIG`環境変数内のファイルからまとめられた設定情報を確認してください。`config-exercise`ディレクトリ内から、以下のコマンドを実行してください:
@ -319,11 +321,11 @@ kubectl config view
`KUBECONFIG`環境変数を元に戻してください。例えば:
Linux:
### Linux:
```shell
export KUBECONFIG=$KUBECONFIG_SAVED
```
Windows PowerShell
### Windows PowerShell
```shell
$Env:KUBECONFIG=$ENV:KUBECONFIG_SAVED
```