Skip to content

Commit bd55ebe

Browse files
authored
Merge pull request #36992 from ydFu/update-zh-kOps
[zh] Update production-environment\tools\kops.md
2 parents 8d554b5 + 998d054 commit bd55ebe

File tree

1 file changed

+29
-30
lines changed
  • content/zh-cn/docs/setup/production-environment/tools

1 file changed

+29
-30
lines changed

content/zh-cn/docs/setup/production-environment/tools/kops.md

Lines changed: 29 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,41 @@
11
---
2-
title: 使用 Kops 安装 Kubernetes
3-
content_type: concept
2+
title: 使用 kOps 安装 Kubernetes
3+
content_type: task
44
weight: 20
55
---
6+
67
<!--
7-
title: Installing Kubernetes with kops
8-
content_type: concept
8+
title: Installing Kubernetes with kOps
9+
content_type: task
910
weight: 20
1011
-->
1112

1213
<!-- overview -->
1314

1415
<!--
1516
This quickstart shows you how to easily install a Kubernetes cluster on AWS.
16-
It uses a tool called [`kops`](https://github.com/kubernetes/kops).
17+
It uses a tool called [`kOps`](https://github.com/kubernetes/kops).
1718
-->
1819
本篇快速入门介绍了如何在 AWS 上轻松安装 Kubernetes 集群。
19-
本篇使用了一个名为 [`kops`](https://github.com/kubernetes/kops) 的工具。
20+
本篇使用了一个名为 [`kOps`](https://github.com/kubernetes/kops) 的工具。
2021

2122
<!--
22-
kops is an automated provisioning system:
23+
`kOps` is an automated provisioning system:
2324
-->
24-
kops 是一个自动化的制备系统:
25+
`kOps` 是一个自动化的制备系统:
2526

2627
<!--
2728
* Fully automated installation
2829
* Uses DNS to identify clusters
2930
* Self-healing: everything runs in Auto-Scaling Groups
30-
* Multiple OS support (Debian, Ubuntu 16.04 supported, CentOS & RHEL, Amazon Linux and CoreOS) - see the [images.md](https://github.com/kubernetes/kops/blob/master/docs/operations/images.md)
31+
* Multiple OS support (Amazon Linux, Debian, Flatcar, RHEL, Rocky and Ubuntu) - see the [images.md](https://github.com/kubernetes/kops/blob/master/docs/operations/images.md)
3132
* High-Availability support - see the [high_availability.md](https://github.com/kubernetes/kops/blob/master/docs/operations/high_availability.md)
3233
* Can directly provision, or generate terraform manifests - see the [terraform.md](https://github.com/kubernetes/kops/blob/master/docs/terraform.md)
3334
-->
3435
* 全自动安装流程
3536
* 使用 DNS 识别集群
3637
* 自我修复:一切都在自动扩缩组中运行
37-
* 支持多种操作系统(Debian、Ubuntu 16.04、CentOS、RHEL、Amazon Linux 和 CoreOS),
38+
* 支持多种操作系统(Amazon Linux、Debian、Flatcar、RHEL、Rocky 和 Ubuntu),
3839
参考 [images.md](https://github.com/kubernetes/kops/blob/master/docs/operations/images.md)
3940
* 支持高可用,参考 [high_availability.md](https://github.com/kubernetes/kops/blob/master/docs/operations/high_availability.md)
4041
* 可以直接提供或者生成 terraform 清单,参考 [terraform.md](https://github.com/kubernetes/kops/blob/master/docs/terraform.md)
@@ -67,7 +68,7 @@ kops 是一个自动化的制备系统:
6768
6869
Download kops from the [releases page](https://github.com/kubernetes/kops/releases) (it is also convenient to build from source):
6970
-->
70-
## 创建集群
71+
## 创建集群 {#creating-a-cluster}
7172

7273
### (1/5) 安装 kops
7374

@@ -124,6 +125,9 @@ Move the kops binary in to your PATH.
124125
sudo mv kops-darwin-amd64 /usr/local/bin/kops
125126
```
126127

128+
<!--
129+
You can also install kops using [Homebrew](https://brew.sh/).
130+
-->
127131
你也可以使用 [Homebrew](https://brew.sh/) 安装 kops:
128132

129133
```shell
@@ -177,8 +181,10 @@ Move the kops binary in to your PATH.
177181
sudo mv kops-linux-amd64 /usr/local/bin/kops
178182
```
179183

180-
你也可以使用 [Homebrew](https://docs.brew.sh/Homebrew-on-Linux)
181-
来安装 kops:
184+
<!--
185+
You can also install kops using [Homebrew](https://docs.brew.sh/Homebrew-on-Linux).
186+
-->
187+
你也可以使用 [Homebrew](https://docs.brew.sh/Homebrew-on-Linux) 来安装 kops。
182188

183189
```shell
184190
brew update && brew install kops
@@ -250,9 +256,7 @@ your cluster is configured correctly if you have the dig tool by running:
250256
检查你的 route53 域已经被正确设置(这是导致问题的最常见原因!)。
251257
如果你安装了 dig 工具,则可以通过运行以下步骤再次检查集群是否配置正确:
252258

253-
```shell
254-
dig DNS dev.example.com
255-
```
259+
`dig NS dev.example.com`
256260

257261
<!--
258262
You should see the 4 NS records that Route53 assigned your hosted zone.
@@ -356,15 +360,13 @@ GPU and non-GPU instances.
356360
<!--
357361
### (5/5) Create the cluster in AWS
358362
359-
Run "kops update cluster" to create your cluster in AWS:
363+
Run `kops update cluster` to create your cluster in AWS:
360364
-->
361365
### (5/5) 在 AWS 中创建集群
362366

363367
运行 `kops update cluster` 以在 AWS 中创建集群:
364368

365-
```shell
366-
kops update cluster useast1.dev.example.com --yes
367-
```
369+
`kops update cluster useast1.dev.example.com --yes`
368370

369371
<!--
370372
That takes a few seconds to run, but then your cluster will likely take a few minutes to actually be ready.
@@ -403,24 +405,21 @@ See the [list of add-ons](/docs/concepts/cluster-administration/addons/) to expl
403405
404406
* To delete your cluster: `kops delete cluster useast1.dev.example.com --yes`
405407
-->
406-
## 清理
408+
## 清理 {#cleanup}
407409

408410
* 删除集群:`kops delete cluster useast1.dev.example.com --yes`
409411

410412
## {{% heading "whatsnext" %}}
411413

412414
<!--
413415
* Learn more about Kubernetes [concepts](/docs/concepts/) and [`kubectl`](/docs/reference/kubectl/).
414-
* Learn more about `kops` [advanced usage](https://kops.sigs.k8s.io/) for tutorials, best practices and advanced configuration options.
415-
* Follow `kops` community discussions on Slack: [community discussions](https://github.com/kubernetes/kops#other-ways-to-communicate-with-the-contributors)
416+
* Learn more about `kOps` [advanced usage](https://kops.sigs.k8s.io/) for tutorials, best practices and advanced configuration options.
417+
* Follow `kOps` community discussions on Slack: [community discussions](https://github.com/kubernetes/kops#other-ways-to-communicate-with-the-contributors).
418+
* Contribute to `kOps` by addressing or raising an issue [GitHub Issues](https://github.com/kubernetes/kops/issues).
416419
-->
417420
* 了解有关 Kubernetes 的[概念](/zh-cn/docs/concepts/)
418421
[`kubectl`](/zh-cn/docs/reference/kubectl/) 的更多信息。
419-
* 参阅 `kops` [进阶用法](https://kops.sigs.k8s.io/)获取教程、最佳实践和进阶配置选项。
422+
* 参阅 `kOps` [进阶用法](https://kops.sigs.k8s.io/) 获取教程、最佳实践和进阶配置选项。
420423
* 通过 Slack:[社区讨论](https://github.com/kubernetes/kops#other-ways-to-communicate-with-the-contributors)
421-
参与 `kops` 社区讨论。
422-
423-
<!--
424-
* Contribute to `kops` by addressing or raising an issue [GitHub Issues](https://github.com/kubernetes/kops/issues)
425-
-->
426-
* 通过解决或提出一个 [GitHub Issue](https://github.com/kubernetes/kops/issues) 来为 `kops` 做贡献。
424+
参与 `kOps` 社区讨论。
425+
* 通过解决或提出一个 [GitHub Issue](https://github.com/kubernetes/kops/issues) 来为 `kOps` 做贡献。

0 commit comments

Comments
 (0)