Update typo in zh install-kubectl
Make the change according to English page, and also the issue [here](https://github.com/minishift/minishift/issues/3440#issuecomment-617506530)
This commit is contained in:
@@ -104,7 +104,7 @@ If you are on Ubuntu or one of other Linux distributions that support [snap](htt
|
|||||||
2. Test to ensure the version you installed is sufficiently up-to-date:
|
2. Test to ensure the version you installed is sufficiently up-to-date:
|
||||||
|
|
||||||
```
|
```
|
||||||
kubectl version
|
kubectl version --client
|
||||||
```
|
```
|
||||||
-->
|
-->
|
||||||
## 在 Ubuntu 上使用 snap 安装 kubectl
|
## 在 Ubuntu 上使用 snap 安装 kubectl
|
||||||
@@ -120,7 +120,7 @@ If you are on Ubuntu or one of other Linux distributions that support [snap](htt
|
|||||||
2. 测试以确保您安装的版本是最新的:
|
2. 测试以确保您安装的版本是最新的:
|
||||||
|
|
||||||
```
|
```
|
||||||
kubectl version
|
kubectl version --client
|
||||||
```
|
```
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
@@ -137,7 +137,7 @@ If you are on macOS and using [Homebrew](https://brew.sh/) package manager, you
|
|||||||
2. Test to ensure the version you installed is sufficiently up-to-date:
|
2. Test to ensure the version you installed is sufficiently up-to-date:
|
||||||
|
|
||||||
```
|
```
|
||||||
kubectl version
|
kubectl version --client
|
||||||
```
|
```
|
||||||
-->
|
-->
|
||||||
## <span id = "jump"> 在 macOS 上用 Homebrew 安装 kubectl </span>
|
## <span id = "jump"> 在 macOS 上用 Homebrew 安装 kubectl </span>
|
||||||
@@ -153,7 +153,7 @@ If you are on macOS and using [Homebrew](https://brew.sh/) package manager, you
|
|||||||
2. 测试以确保您安装的版本是最新的:
|
2. 测试以确保您安装的版本是最新的:
|
||||||
|
|
||||||
```
|
```
|
||||||
kubectl version
|
kubectl version --client
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
@@ -171,7 +171,7 @@ If you are on macOS and using [Macports](https://macports.org/) package manager,
|
|||||||
2. Test to ensure the version you installed is sufficiently up-to-date:
|
2. Test to ensure the version you installed is sufficiently up-to-date:
|
||||||
|
|
||||||
```
|
```
|
||||||
kubectl version
|
kubectl version --client
|
||||||
```
|
```
|
||||||
-->
|
-->
|
||||||
|
|
||||||
@@ -188,7 +188,7 @@ If you are on macOS and using [Macports](https://macports.org/) package manager,
|
|||||||
2. 测试以确保您安装的版本是最新的:
|
2. 测试以确保您安装的版本是最新的:
|
||||||
|
|
||||||
```
|
```
|
||||||
kubectl version
|
kubectl version --client
|
||||||
```
|
```
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
@@ -212,7 +212,7 @@ If you are on Windows and using [Powershell Gallery](https://www.powershellgalle
|
|||||||
2. Test to ensure the version you installed is sufficiently up-to-date:
|
2. Test to ensure the version you installed is sufficiently up-to-date:
|
||||||
|
|
||||||
```
|
```
|
||||||
kubectl version
|
kubectl version --client
|
||||||
```
|
```
|
||||||
|
|
||||||
{{< note >}}
|
{{< note >}}
|
||||||
@@ -238,7 +238,7 @@ If you are on Windows and using [Powershell Gallery](https://www.powershellgalle
|
|||||||
|
|
||||||
2. 测试以确保您安装的版本是最新的:
|
2. 测试以确保您安装的版本是最新的:
|
||||||
```
|
```
|
||||||
kubectl version
|
kubectl version --client
|
||||||
```
|
```
|
||||||
|
|
||||||
{{< note >}}
|
{{< note >}}
|
||||||
@@ -259,7 +259,7 @@ If you are on Windows and using [Chocolatey](https://chocolatey.org) package man
|
|||||||
2. Test to ensure the version you installed is sufficiently up-to-date:
|
2. Test to ensure the version you installed is sufficiently up-to-date:
|
||||||
|
|
||||||
```
|
```
|
||||||
kubectl version
|
kubectl version --client
|
||||||
```
|
```
|
||||||
3. Change to your %HOME% directory:
|
3. Change to your %HOME% directory:
|
||||||
|
|
||||||
@@ -300,7 +300,7 @@ If you are on Windows and using [Chocolatey](https://chocolatey.org) package man
|
|||||||
2. 测试以确保您安装的版本是最新的:
|
2. 测试以确保您安装的版本是最新的:
|
||||||
|
|
||||||
```
|
```
|
||||||
kubectl version
|
kubectl version --client
|
||||||
```
|
```
|
||||||
3. 切换到 %HOME% 目录:
|
3. 切换到 %HOME% 目录:
|
||||||
|
|
||||||
@@ -343,7 +343,7 @@ You can install kubectl as part of the Google Cloud SDK.
|
|||||||
3. Test to ensure the version you installed is sufficiently up-to-date:
|
3. Test to ensure the version you installed is sufficiently up-to-date:
|
||||||
|
|
||||||
```
|
```
|
||||||
kubectl version
|
kubectl version --client
|
||||||
```
|
```
|
||||||
-->
|
-->
|
||||||
## 将 kubectl 作为 Google Cloud SDK 的一部分下载
|
## 将 kubectl 作为 Google Cloud SDK 的一部分下载
|
||||||
@@ -360,7 +360,7 @@ kubectl 可以作为 Google Cloud SDK 的一部分进行安装。
|
|||||||
3. 测试以确保您安装的版本是最新的:
|
3. 测试以确保您安装的版本是最新的:
|
||||||
|
|
||||||
```
|
```
|
||||||
kubectl version
|
kubectl version --client
|
||||||
```
|
```
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|||||||
Reference in New Issue
Block a user