Skip to content

Commit 3a5a161

Browse files
authored
Merge pull request #35495 from windsonsea/kopsyhf
[zh-cn] resync /setup/production-environment/tools/kops.md
2 parents 5ff1ab8 + fdf4965 commit 3a5a161

File tree

1 file changed

+23
-20
lines changed
  • content/zh-cn/docs/setup/production-environment/tools

1 file changed

+23
-20
lines changed

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

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ kops 是一个自动化的制备系统:
2828
* Uses DNS to identify clusters
2929
* Self-healing: everything runs in Auto-Scaling Groups
3030
* 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-
* High-Availability support - see the [high_availability.md](https://github.com/kubernetes/kops/blob/master/docs/high_availability.md)
31+
* High-Availability support - see the [high_availability.md](https://github.com/kubernetes/kops/blob/master/docs/operations/high_availability.md)
3232
* Can directly provision, or generate terraform manifests - see the [terraform.md](https://github.com/kubernetes/kops/blob/master/docs/terraform.md)
3333
-->
3434
* 全自动安装流程
3535
* 使用 DNS 识别集群
3636
* 自我修复:一切都在自动扩缩组中运行
3737
* 支持多种操作系统(如 Debian、Ubuntu 16.04、CentOS、RHEL、Amazon Linux 和 CoreOS) - 参考 [images.md](https://github.com/kubernetes/kops/blob/master/docs/operations/images.md)
38-
* 支持高可用 - 参考 [high_availability.md](https://github.com/kubernetes/kops/blob/master/docs/high_availability.md)
38+
* 支持高可用 - 参考 [high_availability.md](https://github.com/kubernetes/kops/blob/master/docs/operations/high_availability.md)
3939
* 可以直接提供或者生成 terraform 清单 - 参考 [terraform.md](https://github.com/kubernetes/kops/blob/master/docs/terraform.md)
4040

4141
## {{% heading "prerequisites" %}}
@@ -47,12 +47,12 @@ kops 是一个自动化的制备系统:
4747
4848
* You must have an [AWS account](https://docs.aws.amazon.com/polly/latest/dg/setting-up.html), generate [IAM keys](https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys) and [configure](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html#cli-quick-configuration) them. The IAM user will need [adequate permissions](https://github.com/kubernetes/kops/blob/master/docs/getting_started/aws.md#setup-iam-user).
4949
-->
50-
* 你必须安装 [kubectl](/zh-cn/docs/tasks/tools/)
50+
* 你必须安装 [kubectl](/zh-cn/docs/tasks/tools/)
5151
* 你必须安装[安装](https://github.com/kubernetes/kops#installing) `kops`
5252
到 64 位的(AMD64 和 Intel 64)设备架构上。
53-
* 你必须拥有一个 [AWS 账户](https://docs.aws.amazon.com/polly/latest/dg/setting-up.html)
54-
生成 [IAM 秘钥](https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys)
55-
[配置](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html#cli-quick-configuration)
53+
* 你必须拥有一个 [AWS 账户](https://docs.aws.amazon.com/zh_cn/polly/latest/dg/setting-up.html)
54+
生成 [IAM 秘钥](https://docs.aws.amazon.com/zh_cn/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys)
55+
[配置](https://docs.aws.amazon.com/zh_cn/cli/latest/userguide/cli-chap-configure.html#cli-quick-configuration)
5656
该秘钥。IAM 用户需要[足够的权限许可](https://github.com/kubernetes/kops/blob/master/docs/getting_started/aws.md#setup-iam-user)
5757

5858
<!-- steps -->
@@ -172,7 +172,6 @@ Move the kops binary in to your PATH.
172172
-->
173173
将 kops 二进制文件移到 PATH 下:
174174

175-
176175
```shell
177176
sudo mv kops-linux-amd64 /usr/local/bin/kops
178177
```
@@ -225,11 +224,11 @@ kops 可以与以上任何一种配合使用,因此通常你出于组织原因
225224

226225
<!--
227226
Let's assume you're using `dev.example.com` as your hosted zone. You create that hosted zone using
228-
the [normal process](http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/CreatingNewSubdomain.html), or
227+
the [normal process](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/CreatingNewSubdomain.html), or
229228
with a command such as `aws route53 create-hosted-zone --name dev.example.com --caller-reference 1`.
230229
-->
231230
假设你使用 `dev.example.com` 作为托管区域。你可以使用
232-
[正常流程](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/CreatingNewSubdomain.html)
231+
[正常流程](https://docs.aws.amazon.com/zh_cn/Route53/latest/DeveloperGuide/CreatingNewSubdomain.html)
233232
或者使用诸如 `aws route53 create-hosted-zone --name dev.example.com --caller-reference 1`
234233
之类的命令来创建该托管区域。
235234

@@ -323,7 +322,7 @@ kops will create the configuration for your cluster. Note that it _only_ create
323322
not actually create the cloud resources - you'll do that in the next step with a `kops update cluster`. This
324323
give you an opportunity to review the configuration or change it.
325324
-->
326-
kops 将为你的集群创建配置。请注意,它_仅_创建配置,实际上并没有创建云资源 -
325+
kops 将为你的集群创建配置。请注意,它_仅_创建配置,实际上并没有创建云资源 -
327326
你将在下一步中使用 `kops update cluster` 进行配置。
328327
这使你有机会查看配置或进行更改。
329328

@@ -349,7 +348,7 @@ set of instances, which will be registered as kubernetes nodes. On AWS this is
349348
You can have several instance groups, for example if you wanted nodes that are a mix of spot and on-demand instances, or
350349
GPU and non-GPU instances.
351350
-->
352-
如果这是你第一次使用 kops,请花几分钟尝试一下! 实例组是一组实例,将被注册为 kubernetes 节点。
351+
如果这是你第一次使用 kops,请花几分钟尝试一下!实例组是一组实例,将被注册为 kubernetes 节点。
353352
在 AWS 上,这是通过 auto-scaling-groups 实现的。你可以有多个实例组。
354353
例如,如果你想要的是混合实例和按需实例的节点,或者 GPU 和非 GPU 实例。
355354

@@ -360,7 +359,7 @@ Run "kops update cluster" to create your cluster in AWS:
360359
-->
361360
### (5/5) 在 AWS 中创建集群
362361

363-
运行 "kops update cluster" 以在 AWS 中创建集群:
362+
运行 `kops update cluster` 以在 AWS 中创建集群:
364363

365364
```shell
366365
kops update cluster useast1.dev.example.com --yes
@@ -391,7 +390,7 @@ for production clusters!
391390
<!--
392391
### Explore other add-ons
393392
394-
See the [list of add-ons](/docs/concepts/cluster-administration/addons/) to explore other add-ons, including tools for logging, monitoring, network policy, visualization &amp; control of your Kubernetes cluster.
393+
See the [list of add-ons](/docs/concepts/cluster-administration/addons/) to explore other add-ons, including tools for logging, monitoring, network policy, visualization, and control of your Kubernetes cluster.
395394
-->
396395
### 探索其他附加组件
397396

@@ -411,12 +410,16 @@ See the [list of add-ons](/docs/concepts/cluster-administration/addons/) to expl
411410

412411
<!--
413412
* Learn more about Kubernetes [concepts](/docs/concepts/) and [`kubectl`](/docs/reference/kubectl/).
414-
* Learn about `kops` [advanced usage](https://github.com/kubernetes/kops)
415-
* See the `kops` [docs](https://github.com/kubernetes/kops) section for tutorials, best practices and advanced configuration options.
413+
* Learn more about `kops` [advanced usage](https://kops.sigs.k8s.io/) for tutorials, best practices and advanced configuration options.
414+
* Follow `kops` community discussions on Slack: [community discussions](https://github.com/kubernetes/kops#other-ways-to-communicate-with-the-contributors)
416415
-->
417-
* 了解有关 Kubernetes 的[概念](/zh-cn/docs/concepts/)
418-
[`kubectl`](/zh-cn/docs/reference/kubectl/) 有关的更多信息
419-
* 了解 `kops` [高级用法](https://github.com/kubernetes/kops)
420-
* 请参阅 `kops` [文档](https://github.com/kubernetes/kops) 获取教程、
421-
最佳做法和高级配置选项
416+
* 了解有关 Kubernetes 的[概念](/zh-cn/docs/concepts/)
417+
[`kubectl`](/zh-cn/docs/reference/kubectl/) 的更多信息
418+
* 参阅 `kops` [进阶用法](https://kops.sigs.k8s.io/)获取教程、最佳实践和进阶配置选项
419+
* 通过 Slack:[社区讨论](https://github.com/kubernetes/kops#other-ways-to-communicate-with-the-contributors)
420+
参与 `kops` 社区讨论
422421

422+
<!--
423+
* Contribute to `kops` by addressing or raising an issue [GitHub Issues](https://github.com/kubernetes/kops/issues)
424+
-->
425+
* 通过解决或提出一个 [GitHub Issue](https://github.com/kubernetes/kops/issues) 来为 `kops` 做贡献。

0 commit comments

Comments
 (0)