@@ -104,7 +104,7 @@ If you are on Ubuntu or one of other Linux distributions that support [snap](htt
104
104
2. Test to ensure the version you installed is sufficiently up-to-date:
105
105
106
106
```
107
- kubectl version
107
+ kubectl version --client
108
108
```
109
109
-->
110
110
## 在 Ubuntu 上使用 snap 安装 kubectl
@@ -120,7 +120,7 @@ If you are on Ubuntu or one of other Linux distributions that support [snap](htt
120
120
2. 测试以确保您安装的版本是最新的:
121
121
122
122
```
123
- kubectl version
123
+ kubectl version --client
124
124
```
125
125
126
126
<!--
@@ -137,7 +137,7 @@ If you are on macOS and using [Homebrew](https://brew.sh/) package manager, you
137
137
2. Test to ensure the version you installed is sufficiently up-to-date:
138
138
139
139
```
140
- kubectl version
140
+ kubectl version --client
141
141
```
142
142
-->
143
143
## <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
153
153
2. 测试以确保您安装的版本是最新的:
154
154
155
155
```
156
- kubectl version
156
+ kubectl version --client
157
157
```
158
158
159
159
@@ -171,7 +171,7 @@ If you are on macOS and using [Macports](https://macports.org/) package manager,
171
171
2. Test to ensure the version you installed is sufficiently up-to-date:
172
172
173
173
```
174
- kubectl version
174
+ kubectl version --client
175
175
```
176
176
-->
177
177
@@ -188,7 +188,7 @@ If you are on macOS and using [Macports](https://macports.org/) package manager,
188
188
2. 测试以确保您安装的版本是最新的:
189
189
190
190
```
191
- kubectl version
191
+ kubectl version --client
192
192
```
193
193
194
194
<!--
@@ -212,7 +212,7 @@ If you are on Windows and using [Powershell Gallery](https://www.powershellgalle
212
212
2. Test to ensure the version you installed is sufficiently up-to-date:
213
213
214
214
```
215
- kubectl version
215
+ kubectl version --client
216
216
```
217
217
218
218
{{< note >}}
@@ -238,7 +238,7 @@ If you are on Windows and using [Powershell Gallery](https://www.powershellgalle
238
238
239
239
2. 测试以确保您安装的版本是最新的:
240
240
```
241
- kubectl version
241
+ kubectl version --client
242
242
```
243
243
244
244
{{< note >}}
@@ -259,7 +259,7 @@ If you are on Windows and using [Chocolatey](https://chocolatey.org) package man
259
259
2. Test to ensure the version you installed is sufficiently up-to-date:
260
260
261
261
```
262
- kubectl version
262
+ kubectl version --client
263
263
```
264
264
3. Change to your %HOME% directory:
265
265
@@ -300,7 +300,7 @@ If you are on Windows and using [Chocolatey](https://chocolatey.org) package man
300
300
2. 测试以确保您安装的版本是最新的:
301
301
302
302
```
303
- kubectl version
303
+ kubectl version --client
304
304
```
305
305
3. 切换到 %HOME% 目录:
306
306
@@ -343,7 +343,7 @@ You can install kubectl as part of the Google Cloud SDK.
343
343
3. Test to ensure the version you installed is sufficiently up-to-date:
344
344
345
345
```
346
- kubectl version
346
+ kubectl version --client
347
347
```
348
348
-->
349
349
## 将 kubectl 作为 Google Cloud SDK 的一部分下载
@@ -360,7 +360,7 @@ kubectl 可以作为 Google Cloud SDK 的一部分进行安装。
360
360
3. 测试以确保您安装的版本是最新的:
361
361
362
362
```
363
- kubectl version
363
+ kubectl version --client
364
364
```
365
365
366
366
<!--
0 commit comments