From 0d41714774841123df4ebcf99d8f61080d8d3772 Mon Sep 17 00:00:00 2001 From: "xin.li" Date: Sat, 20 Jan 2024 23:16:28 +0800 Subject: [PATCH] [zh-cn] sync coredns upgrading-linux-nodes Signed-off-by: xin.li --- content/zh-cn/docs/tasks/administer-cluster/coredns.md | 10 +++++----- .../kubeadm/upgrading-linux-nodes.md | 4 ++++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/content/zh-cn/docs/tasks/administer-cluster/coredns.md b/content/zh-cn/docs/tasks/administer-cluster/coredns.md index d1962837d4a9e..782422278bcb4 100644 --- a/content/zh-cn/docs/tasks/administer-cluster/coredns.md +++ b/content/zh-cn/docs/tasks/administer-cluster/coredns.md @@ -52,12 +52,12 @@ that will deploy and upgrade the cluster for you. ## Installing CoreDNS For manual deployment or replacement of kube-dns, see the documentation at the -[CoreDNS GitHub project.](https://github.com/coredns/deployment/tree/master/kubernetes) +[CoreDNS website](https://coredns.io/manual/installation/). --> ## 安装 CoreDNS 有关手动部署或替换 kube-dns,请参阅 -[CoreDNS GitHub 项目](https://github.com/coredns/deployment/tree/master/kubernetes)。 +[CoreDNS 网站](https://coredns.io/manual/installation/)。 ## 升级 CoreDNS -你可以在 [CoreDNS version in Kubernetes](https://github.com/coredns/deployment/blob/master/kubernetes/CoreDNS-k8s_version.md) +你可以在 +[Kubernetes 中的 CoreDNS 版本](https://github.com/coredns/deployment/blob/master/kubernetes/CoreDNS-k8s_version.md) 页面查看 kubeadm 为不同版本 Kubernetes 所安装的 CoreDNS 版本。 ```shell +# 在控制平面节点上执行此命令 # 将 替换为你正腾空的节点的名称 kubectl drain --ignore-daemonsets ``` @@ -164,9 +166,11 @@ Bring the node back online by marking it schedulable: 通过将节点标记为可调度,让节点重新上线: ```shell +# 在控制平面节点上执行此命令 # 将 替换为你的节点名称 kubectl uncordon ```