File tree Expand file tree Collapse file tree 1 file changed +34
-2
lines changed
content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_upgrade Expand file tree Collapse file tree 1 file changed +34
-2
lines changed Original file line number Diff line number Diff line change @@ -13,16 +13,48 @@ Upgrade your Kubernetes cluster to the specified version
13
13
-->
14
14
将 Kubernetes 集群升级到指定版本。
15
15
16
- ```
16
+ ``` shell
17
17
kubeadm upgrade apply [version]
18
18
```
19
19
20
+ <!--
21
+ The "apply [version]" command executes the following phases:
22
+ ```
23
+ preflight Run preflight checks before upgrade
24
+ control-plane Upgrade the control plane
25
+ upload-config Upload the kubeadm and kubelet configurations to ConfigMaps
26
+ /kubeadm Upload the kubeadm ClusterConfiguration to a ConfigMap
27
+ /kubelet Upload the kubelet configuration to a ConfigMap
28
+ kubelet-config Upgrade the kubelet configuration for this node
29
+ bootstrap-token Configures bootstrap token and cluster-info RBAC rules
30
+ addon Upgrade the default kubeadm addons
31
+ /coredns Upgrade the CoreDNS addon
32
+ /kube-proxy Upgrade the kube-proxy addon
33
+ post-upgrade Run post upgrade tasks
34
+ ```
35
+ -->
36
+ ` apply [version] ` 命令执行以下阶段:
37
+
38
+ ```
39
+ preflight 在升级前运行预检
40
+ control-plane 升级控制平面
41
+ upload-config 将 kubeadm 和 kubelet 配置上传到 ConfigMap
42
+ /kubeadm 将 kubeadm ClusterConfiguration 上传到 ConfigMap
43
+ /kubelet 将 kubelet 配置上传到 ConfigMap
44
+ kubelet-config 升级此节点的 kubelet 配置
45
+ bootstrap-token 配置启动引导令牌和 cluster-info RBAC 规则
46
+ addon 升级默认的 kubeadm 插件
47
+ /coredns 升级 CoreDNS 插件
48
+ /kube-proxy 升级 kube-proxy 插件
49
+ post-upgrade 运行升级后的任务
50
+ ```
51
+
20
52
<!--
21
53
### Options
22
54
-->
23
55
### 选项
24
56
25
- <table style =" width : 100% ; table-layout : fixed ;" >
57
+ <table style =" width : 100% ; table-layout : fixed ;" >
26
58
<colgroup >
27
59
<col span =" 1 " style =" width : 10px ;" />
28
60
<col span =" 1 " />
You can’t perform that action at this time.
0 commit comments