File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
content/zh-cn/docs/tasks/administer-cluster Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -52,12 +52,12 @@ that will deploy and upgrade the cluster for you.
52
52
## Installing CoreDNS
53
53
54
54
For manual deployment or replacement of kube-dns, see the documentation at the
55
- [CoreDNS GitHub project. ](https://github.com/coredns/deployment/tree/master/kubernetes)
55
+ [CoreDNS website ](https://coredns.io/manual/installation/).
56
56
-->
57
57
## 安装 CoreDNS
58
58
59
59
有关手动部署或替换 kube-dns,请参阅
60
- [ CoreDNS GitHub 项目 ] ( https://github.com/coredns/deployment/tree/master/kubernetes ) 。
60
+ [ CoreDNS 网站 ] ( https://coredns.io/manual/installation/ ) 。
61
61
62
62
<!--
63
63
## Migrating to CoreDNS
@@ -95,7 +95,8 @@ Kubernetes in the page
95
95
-->
96
96
## 升级 CoreDNS
97
97
98
- 你可以在 [ CoreDNS version in Kubernetes] ( https://github.com/coredns/deployment/blob/master/kubernetes/CoreDNS-k8s_version.md )
98
+ 你可以在
99
+ [ Kubernetes 中的 CoreDNS 版本] ( https://github.com/coredns/deployment/blob/master/kubernetes/CoreDNS-k8s_version.md )
99
100
页面查看 kubeadm 为不同版本 Kubernetes 所安装的 CoreDNS 版本。
100
101
101
102
<!--
@@ -144,6 +145,5 @@ in the CoreDNS blog.
144
145
以支持比 kube-dns 更多的用例。
145
146
请参考 ` kubernetes ` CoreDNS 插件的[ 文档] ( https://coredns.io/plugins/kubernetes/ )
146
147
或者 CoreDNS 博客上的博文
147
- [ Custom DNS Entries for Kubernetes ] ( https://coredns.io/2017/05/08/custom-dns-entries-for-kubernetes/ ) ,
148
+ [ Kubernetes 的自定义 DNS 条目 ] ( https://coredns.io/2017/05/08/custom-dns-entries-for-kubernetes/ ) ,
148
149
以了解更多信息。
149
-
Original file line number Diff line number Diff line change @@ -105,9 +105,11 @@ Prepare the node for maintenance by marking it unschedulable and evicting the wo
105
105
将节点标记为不可调度并驱逐所有负载,准备节点的维护:
106
106
107
107
<!--
108
+ # execute this command on a control plane node
108
109
# replace <node-to-drain> with the name of your node you are draining
109
110
-->
110
111
``` shell
112
+ # 在控制平面节点上执行此命令
111
113
# 将 <node-to-drain> 替换为你正腾空的节点的名称
112
114
kubectl drain < node-to-drain> --ignore-daemonsets
113
115
```
@@ -164,9 +166,11 @@ Bring the node back online by marking it schedulable:
164
166
通过将节点标记为可调度,让节点重新上线:
165
167
166
168
<!--
169
+ # execute this command on a control plane node
167
170
# replace <node-to-uncordon> with the name of your node
168
171
-->
169
172
``` shell
173
+ # 在控制平面节点上执行此命令
170
174
# 将 <node-to-uncordon> 替换为你的节点名称
171
175
kubectl uncordon < node-to-uncordon>
172
176
```
You can’t perform that action at this time.
0 commit comments