From 1aef5e4bcc8ae6acac60ccf20487c7854078d73a Mon Sep 17 00:00:00 2001
From: mo3et
Date: Thu, 14 Nov 2024 01:00:13 +0800
Subject: [PATCH] docs(zh-cn): update clusters intro contents and hide
interactive page in TOC
docs[zh-cn]: move docs to interactive-gone in tutorial kubernetes-basics
docs[zh-cn]: update cluster-intro contents in tutorials kubernetes-basics
docs(zh-cn): hide interactive page in toc.
fix: revert uncorrect change.
---
...eractive.html => cluster-interactive-gone.html} | 0
.../create-cluster/cluster-intro.html | 14 +++++++-------
...teractive.html => deploy-interactive-gone.html} | 0
...eractive.html => explore-interactive-gone.html} | 2 ++
...teractive.html => expose-interactive-gone.html} | 0
...nteractive.html => scale-interactive-gone.html} | 0
...teractive.html => update-interactive-gone.html} | 2 ++
7 files changed, 11 insertions(+), 7 deletions(-)
rename content/zh-cn/docs/tutorials/kubernetes-basics/create-cluster/{cluster-interactive.html => cluster-interactive-gone.html} (100%)
rename content/zh-cn/docs/tutorials/kubernetes-basics/deploy-app/{deploy-interactive.html => deploy-interactive-gone.html} (100%)
rename content/zh-cn/docs/tutorials/kubernetes-basics/explore/{explore-interactive.html => explore-interactive-gone.html} (97%)
rename content/zh-cn/docs/tutorials/kubernetes-basics/expose/{expose-interactive.html => expose-interactive-gone.html} (100%)
rename content/zh-cn/docs/tutorials/kubernetes-basics/scale/{scale-interactive.html => scale-interactive-gone.html} (100%)
rename content/zh-cn/docs/tutorials/kubernetes-basics/update/{update-interactive.html => update-interactive-gone.html} (97%)
diff --git a/content/zh-cn/docs/tutorials/kubernetes-basics/create-cluster/cluster-interactive.html b/content/zh-cn/docs/tutorials/kubernetes-basics/create-cluster/cluster-interactive-gone.html
similarity index 100%
rename from content/zh-cn/docs/tutorials/kubernetes-basics/create-cluster/cluster-interactive.html
rename to content/zh-cn/docs/tutorials/kubernetes-basics/create-cluster/cluster-interactive-gone.html
diff --git a/content/zh-cn/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro.html b/content/zh-cn/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro.html
index ecbb63f292..000cbf895c 100644
--- a/content/zh-cn/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro.html
+++ b/content/zh-cn/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro.html
@@ -70,7 +70,7 @@ description: |-
Nodes are the workers that run applications
-->
控制面调度整个集群
- 节点负责运行应用
+ 节点(Nodes)负责运行应用
@@ -126,13 +126,13 @@ description: |-
控制面负责管理整个集群。
控制面协调集群中的所有活动,例如调度应用、维护应用的所需状态、应用扩容以及推出新的更新。
节点是一个虚拟机或者物理机,它在 Kubernetes 集群中充当工作机器的角色。
每个节点都有 Kubelet,它管理节点而且是节点与控制面通信的代理。
- 节点还应该具有用于处理容器操作的工具,例如 Docker 或 rkt。
- 处理生产级流量的 Kubernetes 集群至少应具有三个节点,因为如果一个节点出现故障其对应的
- etcd 成员和控制面实例都会丢失,
+ 节点还应该具有用于处理容器操作的工具,例如 {{< glossary_tooltip text="containerd" term_id="containerd" >}} 或 {{< glossary_tooltip term_id="cri-o" >}}。
+ 处理生产级流量的 Kubernetes 集群至少应具有三个节点,因为如果只有一个节点,出现故障时其对应的
+ etcd 成员和控制面实例都会丢失,
并且冗余会受到影响。你可以通过添加更多控制面节点来降低这种风险。
@@ -168,8 +168,8 @@ description: |-
Now that you know more about what Kubernetes is, visit Hello Minikube
to try this out on your computer.
-->
- 既然你已经知道 Kubernetes 是什么,访问你好 Minikube,
- 在你的电脑上试试这个。
+ 现在你已经知道 Kubernetes 是什么了,在你的电脑上访问你好 Minikube,
+ 试试。
diff --git a/content/zh-cn/docs/tutorials/kubernetes-basics/deploy-app/deploy-interactive.html b/content/zh-cn/docs/tutorials/kubernetes-basics/deploy-app/deploy-interactive-gone.html
similarity index 100%
rename from content/zh-cn/docs/tutorials/kubernetes-basics/deploy-app/deploy-interactive.html
rename to content/zh-cn/docs/tutorials/kubernetes-basics/deploy-app/deploy-interactive-gone.html
diff --git a/content/zh-cn/docs/tutorials/kubernetes-basics/explore/explore-interactive.html b/content/zh-cn/docs/tutorials/kubernetes-basics/explore/explore-interactive-gone.html
similarity index 97%
rename from content/zh-cn/docs/tutorials/kubernetes-basics/explore/explore-interactive.html
rename to content/zh-cn/docs/tutorials/kubernetes-basics/explore/explore-interactive-gone.html
index c31d7f8a68..c51b2bc02d 100644
--- a/content/zh-cn/docs/tutorials/kubernetes-basics/explore/explore-interactive.html
+++ b/content/zh-cn/docs/tutorials/kubernetes-basics/explore/explore-interactive-gone.html
@@ -1,6 +1,8 @@
---
title: 交互式教程 - 探索你的应用
weight: 20
+headless: true
+toc_hide: true
---