From e490e4dc38aa0a295af7d793ec648f1f72c108cb Mon Sep 17 00:00:00 2001 From: Mengjiao Liu Date: Mon, 20 Mar 2023 16:57:52 +0800 Subject: [PATCH] [zh-cn] sync task files of task-2 --- .../docs/tasks/configure-pod-container/user-namespaces.md | 4 ++-- content/zh-cn/docs/tasks/manage-kubernetes-objects/_index.md | 4 ++-- .../tasks/manage-kubernetes-objects/declarative-config.md | 4 ++-- content/zh-cn/docs/tasks/network/_index.md | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/content/zh-cn/docs/tasks/configure-pod-container/user-namespaces.md b/content/zh-cn/docs/tasks/configure-pod-container/user-namespaces.md index d046655bedefb..6e19c74a64f21 100644 --- a/content/zh-cn/docs/tasks/configure-pod-container/user-namespaces.md +++ b/content/zh-cn/docs/tasks/configure-pod-container/user-namespaces.md @@ -2,7 +2,7 @@ title: 为 Pod 配置用户名字空间 reviewers: content_type: task -weight: 160 +weight: 210 min-kubernetes-server-version: v1.25 --- @@ -10,7 +10,7 @@ min-kubernetes-server-version: v1.25 title: Use a User Namespace With a Pod reviewers: content_type: task -weight: 160 +weight: 210 min-kubernetes-server-version: v1.25 --> diff --git a/content/zh-cn/docs/tasks/manage-kubernetes-objects/_index.md b/content/zh-cn/docs/tasks/manage-kubernetes-objects/_index.md index 6e817952b6543..6ea2ca7f638f3 100644 --- a/content/zh-cn/docs/tasks/manage-kubernetes-objects/_index.md +++ b/content/zh-cn/docs/tasks/manage-kubernetes-objects/_index.md @@ -1,11 +1,11 @@ --- title: "管理 Kubernetes 对象" -weight: 25 +weight: 50 description: 用声明式和命令式范型与 Kubernetes API 交互。 --- \ No newline at end of file diff --git a/content/zh-cn/docs/tasks/manage-kubernetes-objects/declarative-config.md b/content/zh-cn/docs/tasks/manage-kubernetes-objects/declarative-config.md index b0a3563c541a6..a2e323ae0727b 100644 --- a/content/zh-cn/docs/tasks/manage-kubernetes-objects/declarative-config.md +++ b/content/zh-cn/docs/tasks/manage-kubernetes-objects/declarative-config.md @@ -763,8 +763,8 @@ kind: Deployment metadata: annotations: # ... - # 注解中包含更新后的 image,nginx 1.16.1, - # 但不包含更新后的 replicas + # 注解中包含更新后的镜像 nginx 1.16.1, + # 但是其中并不包含更改后的 replicas 值 2 kubectl.kubernetes.io/last-applied-configuration: | {"apiVersion":"apps/v1","kind":"Deployment", "metadata":{"annotations":{},"name":"nginx-deployment","namespace":"default"}, diff --git a/content/zh-cn/docs/tasks/network/_index.md b/content/zh-cn/docs/tasks/network/_index.md index 408f2a3f2afec..b1395d520e824 100644 --- a/content/zh-cn/docs/tasks/network/_index.md +++ b/content/zh-cn/docs/tasks/network/_index.md @@ -1,5 +1,5 @@ --- title: "网络" -weight: 160 +weight: 140 description: 了解如何为你的集群配置网络。 ---