Skip to content

Commit 595ec04

Browse files
authored
Merge pull request #22099 from tengqm/zh-sync-home
[zh] Fix links on docs home
2 parents c3056a6 + 073ce64 commit 595ec04

File tree

13 files changed

+1777
-124
lines changed

13 files changed

+1777
-124
lines changed

content/zh/docs/concepts/overview/working-with-objects/kubernetes-objects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 理解 Kubernetes 对象
33
content_type: concept
44
weight: 10
55
card:
6-
name: 概念
6+
name: concepts
77
weight: 40
88
---
99

content/zh/docs/concepts/workloads/pods/pod-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Pod 概览
33
content_type: concept
44
weight: 10
55
card:
6-
name: 概念
6+
name: concepts
77
weight: 60
88
---
99

content/zh/docs/home/_index.md

Lines changed: 68 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -13,47 +13,59 @@ menu:
1313
title: "文档"
1414
weight: 20
1515
post: >
16-
<p>通过演练,示例和参考文档了解如何使用 Kubernetes。你甚至可以<a href="/editdocs/" data-auto-burger-exclude>帮助贡献文档</a>!</p>
17-
overview: >
18-
<!-- Kubernetes is an open source container orchestration engine for automating deployment, scaling, and management of containerized applications. The open source project is hosted by the Cloud Native Computing Foundation (<a href="https://www.cncf.io/about">CNCF</a>). -->
19-
Kubernetes 是一个开源容器编排引擎,用于容器化应用的自动化部署、扩展和管理。该项目托管在 <a href="https://www.cncf.io/about">CNCF</a>。
20-
<!-- cards:
21-
- name: concepts
22-
title: "Understand the basics"
23-
description: "Learn about Kubernetes and its fundamental concepts."
24-
button: "Learn Concepts"
25-
button_path: "/docs/concepts"
26-
- name: tutorials
27-
title: "Try Kubernetes"
28-
description: "Follow tutorials to learn how to deploy applications in Kubernetes."
29-
button: "View Tutorials"
30-
button_path: "/docs/tutorials"
31-
- name: setup
32-
title: "Set up a cluster"
33-
description: "Get Kubernetes running based on your resources and needs."
34-
button: "Set up Kubernetes"
35-
button_path: "/docs/setup"
36-
- name: tasks
37-
title: "Learn how to use Kubernetes"
38-
description: "Look up common tasks and how to perform them using a short sequence of steps."
39-
button: "View Tasks"
40-
button_path: "/docs/tasks"
41-
- name: reference
42-
title: Look up reference information
43-
description: Browse terminology, command line syntax, API resource types, and setup tool documentation.
44-
button: View Reference
45-
button_path: /docs/reference
46-
- name: contribute
47-
title: Contribute to the docs
48-
description: Anyone can contribute, whether you’re new to the project or you’ve been around a long time.
49-
button: Contribute to the docs
50-
button_path: /docs/contribute
51-
- name: release-notes
52-
title: Release Notes
53-
description: If you are installing Kubernetes or upgrading to the newest version, refer to the current release notes.
54-
- name: about
55-
title: About the documentation
56-
description: This website contains documentation for the current and previous 4 versions of Kubernetes. -->
16+
<p>通过概念、教程和参考文档了解如何使用 Kubernetes。你甚至可以<a href="/editdocs/" data-auto-burger-exclude>帮助贡献文档</a>!</p>
17+
# description: >
18+
# Kubernetes is an open source container orchestration engine for automating deployment, scaling, and management of containerized applications. The open source project is hosted by the Cloud Native Computing Foundation.
19+
description: >
20+
Kubernetes 是一个开源的容器编排引擎,用来对容器化应用进行自动部署、 扩缩和管理。此开源项目由云原生计算基金会(CNCF)托管。
21+
# overview:
22+
# Kubernetes is an open source container orchestration engine for automating deployment, scaling, and management of containerized applications. The open source project is hosted by the Cloud Native Computing Foundation (<a href="https://www.cncf.io/about">CNCF</a>).
23+
overview:
24+
Kubernetes 是一个开源的容器编排引擎,用来对容器化应用进行自动化部署、 扩缩和管理。该项目托管在 <a href="https://www.cncf.io/about">CNCF</a>。
25+
# cards:
26+
# - name: concepts
27+
# title: "Understand the basics"
28+
# description: "Learn about Kubernetes and its fundamental concepts."
29+
# button: "Learn Concepts"
30+
# button_path: "/docs/concepts"
31+
# - name: tutorials
32+
# title: "Try Kubernetes"
33+
# description: "Follow tutorials to learn how to deploy applications in Kubernetes."
34+
# button: "View Tutorials"
35+
# button_path: "/docs/tutorials"
36+
# - name: setup
37+
# title: "Set up a cluster"
38+
# description: "Get Kubernetes running based on your resources and needs."
39+
# button: "Set up Kubernetes"
40+
# button_path: "/docs/setup"
41+
# - name: tasks
42+
# title: "Learn how to use Kubernetes"
43+
# description: "Look up common tasks and how to perform them using a short sequence of steps."
44+
# button: "View Tasks"
45+
# button_path: "/docs/tasks"
46+
# - name: training
47+
# title: "Training"
48+
# description: "Get certified in Kubernetes and make your cloud native projects successful!"
49+
# button: "View training"
50+
# button_path: "/training"
51+
# - name: reference
52+
# title: Look up reference information
53+
# description: Browse terminology, command line syntax, API resource types, and setup tool documentation.
54+
# button: View Reference
55+
# button_path: /docs/reference
56+
# - name: contribute
57+
# title: Contribute to the docs
58+
# description: Anyone can contribute, whether you’re new to the project or you’ve been around a long time.
59+
# button: Contribute to the docs
60+
# button_path: /docs/contribute
61+
# - name: release-notes
62+
# title: Release Notes
63+
# description: If you are installing Kubernetes or upgrading to the newest version, refer to the current release notes.
64+
# button: "Download Kubernetes"
65+
# button_path: "/zh/docs/setup/release/notes"
66+
# - name: about
67+
# title: About the documentation
68+
# description: This website contains documentation for the current and previous 4 versions of Kubernetes.
5769
cards:
5870
- name: concepts
5971
title: "了解基本知识"
@@ -75,20 +87,27 @@ cards:
7587
description: "查看常见任务以及如何使用简单步骤执行它们。"
7688
button: "查看任务"
7789
button_path: "/zh/docs/tasks"
90+
- name: training
91+
title: "培训"
92+
description: "通过 Kubernetes 认证,助你的云原生项目成功!"
93+
button: "查看培训"
94+
button_path: "/zh/training"
7895
- name: reference
79-
title: 参考
80-
description: 术语、命令行语法、API 资源类型和设置工具文档
96+
title: 查阅参考信息
97+
description: 浏览术语、命令行语法、API 资源类型和安装工具文档
8198
button: 查看参考
8299
button_path: /zh/docs/reference
83100
- name: contribute
84-
title: 为该文档作出贡献
101+
title: 为文档作贡献
85102
description: 任何人,无论对该项目熟悉与否,都能贡献自己的力量。
86-
button: 参与贡献
103+
button: 为文档作贡献
87104
button_path: /zh/docs/contribute
88-
- name: download
89-
title: 下载 Kubernetes
90-
description: 如果你正在安装或升级 Kubernetes 的话,最好参考最新的发行版说明。
105+
- name: release-notes
106+
title: 发布说明
107+
description: 如果你正在安装或升级 Kubernetes,最好参考最新的发布说明。
108+
button: "下载 Kubernetes"
109+
button_path: "/zh/docs/setup/release/notes"
91110
- name: about
92111
title: 关于文档
93-
description: 该网站包含了当前版本以及前 4 个版本的 Kubernetes 文档。
112+
description: 本网站包含了当前及前 4 个版本的 Kubernetes 文档。
94113
---

content/zh/docs/reference/glossary/index.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
---
2-
approvers:
3-
- chenopis
4-
- abiogenesis-now
52
title: 标准化词汇表
63
layout: glossary
74
noedit: true
85
default_active_tag: fundamental
96
weight: 5
107
card:
11-
name: 参考
8+
name: reference
129
weight: 10
1310
title: 词汇表
1411
---
Lines changed: 46 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,63 @@
11
---
2-
# title: Overview of kubeadm
32
title: kubeadm 概述
43
weight: 10
4+
card:
5+
name: reference
6+
weight: 40
57
---
8+
<!--
9+
reviewers:
10+
- luxas
11+
- jbeda
12+
title: Overview of kubeadm
13+
weight: 10
14+
card:
15+
name: reference
16+
weight: 40
17+
-->
18+
619
<img src="https://raw.githubusercontent.com/cncf/artwork/master/projects/kubernetes/certified-kubernetes/versionless/color/certified-kubernetes-color.png" align="right" width="150px">
7-
<!-- Kubeadm is a tool built to provide `kubeadm init` and `kubeadm join` as best-practice “fast paths” for creating Kubernetes clusters. -->
20+
<!--
21+
Kubeadm is a tool built to provide `kubeadm init` and `kubeadm join` as best-practice “fast paths” for creating Kubernetes clusters.
22+
-->
823
Kubeadm 是一个工具,它提供了 `kubeadm init` 以及 `kubeadm join` 这两个命令作为快速创建 kubernetes 集群的最佳实践。
924

10-
<!-- kubeadm performs the actions necessary to get a minimum viable cluster up and running. By design, it cares only about bootstrapping, not about provisioning machines. Likewise, installing various nice-to-have addons, like the Kubernetes Dashboard, monitoring solutions, and cloud-specific addons, is not in scope. -->
25+
<!--
26+
kubeadm performs the actions necessary to get a minimum viable cluster up and running. By design, it cares only about bootstrapping, not about provisioning machines. Likewise, installing various nice-to-have addons, like the Kubernetes Dashboard, monitoring solutions, and cloud-specific addons, is not in scope.
27+
-->
1128
kubeadm 通过执行必要的操作来启动和运行一个最小可用的集群。它被故意设计为只关心启动集群,而不是准备节点环境的工作。同样的,诸如安装各种各样的可有可无的插件,例如 Kubernetes 控制面板、监控解决方案以及特定云提供商的插件,这些都不在它负责的范围。
1229

13-
<!-- Instead, we expect higher-level and more tailored tooling to be built on top of kubeadm, and ideally, using kubeadm as the basis of all deployments will make it easier to create conformant clusters. -->
30+
<!--
31+
Instead, we expect higher-level and more tailored tooling to be built on top of kubeadm, and ideally, using kubeadm as the basis of all deployments will make it easier to create conformant clusters.
32+
-->
1433
相反,我们期望由一个基于 kubeadm 从更高层设计的更加合适的工具来做这些事情;并且,理想情况下,使用 kubeadm 作为所有部署的基础将会使得创建一个符合期望的集群变得容易。
1534

35+
<!--
36+
## How to install
37+
38+
To install kubeadm, see the [installation guide](/docs/setup/production-environment/tools/kubeadm/install-kubeadm).
39+
-->
40+
## 如何安装
41+
要安装 kubeadm,请参考[安装指南](/docs/setup/production-environment/tools/kubeadm/install-kubeadm)
42+
1643
## 接下可以做什么
1744

18-
<!-- * [kubeadm init](/docs/reference/setup-tools/kubeadm/kubeadm-init) to bootstrap a Kubernetes master node -->
19-
* [kubeadm init](/docs/reference/setup-tools/kubeadm/kubeadm-init) 启动一个 Kubernetes 主节点
20-
<!-- * [kubeadm join](/docs/reference/setup-tools/kubeadm/kubeadm-join) to bootstrap a Kubernetes worker node and join it to the cluster -->
21-
* [kubeadm join](/docs/reference/setup-tools/kubeadm/kubeadm-join) 启动一个 Kubernetes 工作节点并且将其加入到集群
22-
<!-- * [kubeadm upgrade](/docs/reference/setup-tools/kubeadm/kubeadm-upgrade) to upgrade a Kubernetes cluster to a newer version -->
23-
* [kubeadm upgrade](/docs/reference/setup-tools/kubeadm/kubeadm-upgrade) 更新一个 Kubernetes 集群到新版本
24-
<!-- * [kubeadm config](/docs/reference/setup-tools/kubeadm/kubeadm-config) if you initialized your cluster using kubeadm v1.7.x or lower, to configure your cluster for `kubeadm upgrade` -->
45+
<!--
46+
* [kubeadm init](/docs/reference/setup-tools/kubeadm/kubeadm-init) to bootstrap a Kubernetes master node
47+
* [kubeadm join](/docs/reference/setup-tools/kubeadm/kubeadm-join) to bootstrap a Kubernetes worker node and join it to the cluster
48+
* [kubeadm upgrade](/docs/reference/setup-tools/kubeadm/kubeadm-upgrade) to upgrade a Kubernetes cluster to a newer version
49+
* [kubeadm config](/docs/reference/setup-tools/kubeadm/kubeadm-config) if you initialized your cluster using kubeadm v1.7.x or lower, to configure your cluster for `kubeadm upgrade`
50+
* [kubeadm token](/docs/reference/setup-tools/kubeadm/kubeadm-token) to manage tokens for `kubeadm join`
51+
* [kubeadm reset](/docs/reference/setup-tools/kubeadm/kubeadm-reset) to revert any changes made to this host by `kubeadm init` or `kubeadm join`
52+
* [kubeadm version](/docs/reference/setup-tools/kubeadm/kubeadm-version) to print the kubeadm version
53+
* [kubeadm alpha](/docs/reference/setup-tools/kubeadm/kubeadm-alpha) to preview a set of features made available for gathering feedback from the community
54+
-->
55+
* [kubeadm init](/docs/reference/setup-tools/kubeadm/kubeadm-init) 启动引导一个 Kubernetes 主节点
56+
* [kubeadm join](/docs/reference/setup-tools/kubeadm/kubeadm-join) 启动引导一个 Kubernetes 工作节点并且将其加入到集群
57+
* [kubeadm upgrade](/docs/reference/setup-tools/kubeadm/kubeadm-upgrade) 更新 Kubernetes 集群到新版本
2558
* [kubeadm config](/docs/reference/setup-tools/kubeadm/kubeadm-config) 如果你使用 kubeadm v1.7.x 或者更低版本,你需要对你的集群做一些配置以便使用 `kubeadm upgrade` 命令
26-
<!-- * [kubeadm token](/docs/reference/setup-tools/kubeadm/kubeadm-token) to manage tokens for `kubeadm join` -->
2759
* [kubeadm token](/docs/reference/setup-tools/kubeadm/kubeadm-token) 使用 `kubeadm join` 来管理令牌
28-
<!-- * [kubeadm reset](/docs/reference/setup-tools/kubeadm/kubeadm-reset) to revert any changes made to this host by `kubeadm init` or `kubeadm join` -->
29-
* [kubeadm reset](/docs/reference/setup-tools/kubeadm/kubeadm-reset) 还原之前使用 `kubeadm init` 或者 `kubeadm join` 对节点产生的改变
30-
<!-- * [kubeadm version](/docs/reference/setup-tools/kubeadm/kubeadm-version) to print the kubeadm version -->
60+
* [kubeadm reset](/docs/reference/setup-tools/kubeadm/kubeadm-reset) 还原之前使用 `kubeadm init` 或者 `kubeadm join` 对节点所作改变
3161
* [kubeadm version](/docs/reference/setup-tools/kubeadm/kubeadm-version) 打印出 kubeadm 版本
32-
<!-- * [kubeadm alpha](/docs/reference/setup-tools/kubeadm/kubeadm-alpha) to preview a set of features made available for gathering feedback from the community -->
3362
* [kubeadm alpha](/docs/reference/setup-tools/kubeadm/kubeadm-alpha) 预览一组可用的新功能以便从社区搜集反馈
63+

content/zh/docs/setup/_index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ main_menu: true
55
weight: 20
66
content_type: concept
77
card:
8-
name: 设置
8+
name: setup
99
weight: 20
1010
anchors:
1111
- anchor: "#learning-environment"
@@ -15,7 +15,6 @@ card:
1515
---
1616

1717
<!--
18-
---
1918
reviewers:
2019
- brendandburns
2120
- erictune
@@ -33,7 +32,6 @@ card:
3332
title: Learning environment
3433
- anchor: "#production-environment"
3534
title: Production environment
36-
---
3735
-->
3836

3937
<!-- overview -->

0 commit comments

Comments
 (0)