File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
content/zh-cn/docs/tasks/tools Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -185,16 +185,11 @@ Or use this for detailed view of version:
185
185
<!--
186
186
If you use Debian 9 (stretch) or earlier you would also need to install `apt-transport-https`:
187
187
-->
188
- {{< note >}}
189
-
190
188
如果你使用 Debian 9(stretch)或更早版本,则你还需要安装 ` apt-transport-https ` :
191
-
192
189
``` shell
193
- sudo apt-get install -y apt-transport-https
190
+ sudo apt-get install -y apt-transport-https
194
191
```
195
192
196
- {{< /note >}}
197
-
198
193
<!--
199
194
2. Download the Google Cloud public signing key:
200
195
-->
@@ -228,8 +223,9 @@ Or use this for detailed view of version:
228
223
229
224
{{% /tab %}}
230
225
231
- {{< tab name="基于 Red Hat 的发行版" codelang="bash" > }}
226
+ {{% tab name="基于 Red Hat 的发行版" % }}
232
227
228
+ ``` bash
233
229
cat << EOF | sudo tee /etc/yum.repos.d/kubernetes.repo
234
230
[kubernetes]
235
231
name=Kubernetes
@@ -239,7 +235,9 @@ gpgcheck=1
239
235
gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
240
236
EOF
241
237
sudo yum install -y kubectl
242
- {{< /tab >}}
238
+ ```
239
+
240
+ {{% /tab %}}
243
241
{{< /tabs >}}
244
242
245
243
<!--
@@ -400,4 +398,3 @@ kubectl 为 Bash、Zsh、Fish 和 PowerShell 提供自动补全功能,可以
400
398
## {{% heading "whatsnext" %}}
401
399
402
400
{{< include "included/kubectl-whats-next.md" >}}
403
-
You can’t perform that action at this time.
0 commit comments