|
1 | 1 | <!--
|
| 2 | +
|
| 3 | +
|
2 | 4 | ### Synopsis
|
3 | 5 |
|
| 6 | +
|
4 | 7 | Show what differences would be applied to existing static pod manifests. See also: kubeadm upgrade apply --dry-run
|
| 8 | +
|
| 9 | +``` |
| 10 | +kubeadm upgrade diff [version] [flags] |
| 11 | +``` |
5 | 12 | -->
|
6 | 13 | ### 概述
|
7 | 14 |
|
8 |
| -显示哪些差异将被应用于现有的静态 pod 资源清单。参考: kubeadm upgrade apply --dry-run |
| 15 | + |
| 16 | +显示哪些差异将被应用于现有的静态 pod 资源清单。参考: kubeadm upgrade apply --dry-run |
9 | 17 |
|
10 | 18 | ```
|
11 | 19 | kubeadm upgrade diff [version] [flags]
|
12 | 20 | ```
|
13 | 21 | <!--
|
| 22 | +
|
14 | 23 | ### Options
|
15 | 24 |
|
16 |
| -``` |
| 25 | + <table style="width: 100%; table-layout: fixed;"> |
| 26 | +<colgroup> |
| 27 | +<col span="1" style="width: 10px;" /> |
| 28 | +<col span="1" /> |
| 29 | +</colgroup> |
| 30 | +<tbody> |
| 31 | +
|
17 | 32 | <tr>
|
18 |
| - <td colspan="2">--api-server-manifest string Default: "/etc/kubernetes/manifests/kube-apiserver.yaml"</td> |
| 33 | +<td colspan="2">--api-server-manifest string Default: "/etc/kubernetes/manifests/kube-apiserver.yaml"</td> |
19 | 34 | </tr>
|
20 | 35 | <tr>
|
21 |
| - <td></td><td style="line-height: 130%; word-wrap: break-word;">path to API server manifest</td> |
| 36 | +<td></td><td style="line-height: 130%; word-wrap: break-word;">path to API server manifest</td> |
22 | 37 | </tr>
|
| 38 | +--> |
| 39 | +### 选项 |
| 40 | + |
| 41 | + <table style="width: 100%; table-layout: fixed;"> |
| 42 | +<colgroup> |
| 43 | +<col span="1" style="width: 10px;" /> |
| 44 | +<col span="1" /> |
| 45 | +</colgroup> |
| 46 | +<tbody> |
23 | 47 |
|
24 | 48 | <tr>
|
25 |
| - <td colspan="2">--config string</td> |
| 49 | +<td colspan="2">--api-server-manifest string 默认值:"/etc/kubernetes/manifests/kube-apiserver.yaml"</td> |
26 | 50 | </tr>
|
27 | 51 | <tr>
|
28 |
| - <td></td><td style="line-height: 130%; word-wrap: break-word;">Path to a kubeadm configuration file.</td> |
| 52 | +<td></td><td style="line-height: 130%; word-wrap: break-word;">API服务器清单的路径</td> |
29 | 53 | </tr>
|
30 |
| -
|
| 54 | +<!-- |
31 | 55 | <tr>
|
32 |
| - <td colspan="2">-c, --context-lines int Default: 3</td> |
| 56 | +<td colspan="2">--config string</td> |
33 | 57 | </tr>
|
34 | 58 | <tr>
|
35 |
| - <td></td><td style="line-height: 130%; word-wrap: break-word;">How many lines of context in the diff</td> |
| 59 | +<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to a kubeadm configuration file.</td> |
36 | 60 | </tr>
|
37 |
| -
|
| 61 | +--> |
38 | 62 | <tr>
|
39 |
| - <td colspan="2">--controller-manager-manifest string Default: "/etc/kubernetes/manifests/kube-controller-manager.yaml"</td> |
| 63 | +<td colspan="2">--config string</td> |
40 | 64 | </tr>
|
41 | 65 | <tr>
|
42 |
| - <td></td><td style="line-height: 130%; word-wrap: break-word;">path to controller manifest</td> |
| 66 | +<td></td><td style="line-height: 130%; word-wrap: break-word;">kubeadm 配置文件的路径</td> |
43 | 67 | </tr>
|
44 |
| -
|
| 68 | +<!-- |
45 | 69 | <tr>
|
46 |
| - <td colspan="2">-h, --help</td> |
| 70 | +<td colspan="2">-c, --context-lines int Default: 3</td> |
47 | 71 | </tr>
|
48 | 72 | <tr>
|
49 |
| - <td></td><td style="line-height: 130%; word-wrap: break-word;">help for diff</td> |
| 73 | +<td></td><td style="line-height: 130%; word-wrap: break-word;">How many lines of context in the diff</td> |
50 | 74 | </tr>
|
51 |
| -
|
| 75 | +--> |
52 | 76 | <tr>
|
53 |
| - <td colspan="2">--kubeconfig string Default: "/etc/kubernetes/admin.conf"</td> |
| 77 | +<td colspan="2">-c, --context-lines int 默认值:3</td> |
54 | 78 | </tr>
|
55 | 79 | <tr>
|
56 |
| - <td></td><td style="line-height: 130%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.</td> |
| 80 | +<td></td><td style="line-height: 130%; word-wrap: break-word;">差异中有多少行上下文</td> |
57 | 81 | </tr>
|
58 |
| -
|
| 82 | +<!-- |
59 | 83 | <tr>
|
60 |
| - <td colspan="2">--scheduler-manifest string Default: "/etc/kubernetes/manifests/kube-scheduler.yaml"</td> |
| 84 | +<td colspan="2">--controller-manager-manifest string Default: "/etc/kubernetes/manifests/kube-controller-manager.yaml"</td> |
61 | 85 | </tr>
|
62 | 86 | <tr>
|
63 |
| - <td></td><td style="line-height: 130%; word-wrap: break-word;">path to scheduler manifest</td> |
| 87 | +<td></td><td style="line-height: 130%; word-wrap: break-word;">path to controller manifest</td> |
64 | 88 | </tr>
|
65 |
| -``` |
66 |
| -
|
67 | 89 | -->
|
68 |
| -### 选项 |
69 |
| - |
70 | 90 | <tr>
|
71 |
| - <td colspan="2">--api-server-manifest string 默认值: "/etc/kubernetes/manifests/kube-apiserver.yaml"</td> |
| 91 | +<td colspan="2">--controller-manager-manifest string 默认值: "/etc/kubernetes/manifests/kube-controller-manager.yaml"</td> |
72 | 92 | </tr>
|
73 | 93 | <tr>
|
74 |
| - <td></td><td style="line-height: 130%; word-wrap: break-word;">API服务器清单的路径</td> |
| 94 | +<td></td><td style="line-height: 130%; word-wrap: break-word;">控制器清单的路径</td> |
75 | 95 | </tr>
|
76 |
| - |
| 96 | +<!-- |
77 | 97 | <tr>
|
78 |
| - <td colspan="2">--config string</td> |
| 98 | +<td colspan="2">-h, --help</td> |
79 | 99 | </tr>
|
80 | 100 | <tr>
|
81 |
| - <td></td><td style="line-height: 130%; word-wrap: break-word;"> API 服务器清单的路径。</td> |
| 101 | +<td></td><td style="line-height: 130%; word-wrap: break-word;">help for diff</td> |
82 | 102 | </tr>
|
83 |
| - |
| 103 | +--> |
84 | 104 | <tr>
|
85 |
| - <td colspan="2">-c, --context-lines int 默认值: 3</td> |
| 105 | +<td colspan="2">-h, --help</td> |
86 | 106 | </tr>
|
87 | 107 | <tr>
|
88 |
| - <td></td><td style="line-height: 130%; word-wrap: break-word;">差异中有多少行上下文</td> |
| 108 | +<td></td><td style="line-height: 130%; word-wrap: break-word;">帮助</td> |
89 | 109 | </tr>
|
90 |
| - |
| 110 | +<!-- |
91 | 111 | <tr>
|
92 |
| - <td colspan="2">--controller-manager-manifest string 默认值: "/etc/kubernetes/manifests/kube-controller-manager.yaml"</td> |
| 112 | +<td colspan="2">--kubeconfig string Default: "/etc/kubernetes/admin.conf"</td> |
93 | 113 | </tr>
|
94 | 114 | <tr>
|
95 |
| - <td></td><td style="line-height: 130%; word-wrap: break-word;">控制器清单的路径</td> |
| 115 | +<td></td><td style="line-height: 130%; word-wrap: break-word;">The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.</td> |
96 | 116 | </tr>
|
97 |
| - |
| 117 | +--> |
98 | 118 | <tr>
|
99 |
| - <td colspan="2">-h, --help</td> |
| 119 | +<td colspan="2">--kubeconfig string 默认值:"/etc/kubernetes/admin.conf"</td> |
100 | 120 | </tr>
|
101 | 121 | <tr>
|
102 |
| - <td></td><td style="line-height: 130%; word-wrap: break-word;">帮助</td> |
| 122 | +<td></td><td style="line-height: 130%; word-wrap: break-word;">与集群通信时使用的 kubeconfig 文件,如果标志是未设置,则可以在一组标准位置中搜索现有的 kubeconfig 文件。</td> |
103 | 123 | </tr>
|
104 |
| - |
| 124 | +<!-- |
105 | 125 | <tr>
|
106 |
| - <td colspan="2">--kubeconfig string 默认值: "/etc/kubernetes/admin.conf"</td> |
| 126 | +<td colspan="2">--scheduler-manifest string Default: "/etc/kubernetes/manifests/kube-scheduler.yaml"</td> |
107 | 127 | </tr>
|
108 | 128 | <tr>
|
109 |
| - <td></td><td style="line-height: 130%; word-wrap: break-word;">与集群通信时使用的 kubeconfig 文件,如果标志是未设置,则可以在一组标准位置中搜索现有的 kubeconfig 文件。</td> |
| 129 | +<td></td><td style="line-height: 130%; word-wrap: break-word;">path to scheduler manifest</td> |
110 | 130 | </tr>
|
111 | 131 |
|
| 132 | +</tbody> |
| 133 | +</table> |
| 134 | +--> |
112 | 135 | <tr>
|
113 |
| - <td colspan="2">--scheduler-manifest string 默认值:"/etc/kubernetes/manifests/kube-scheduler.yaml"</td> |
| 136 | +<td colspan="2">--scheduler-manifest string 默认值:"/etc/kubernetes/manifests/kube-scheduler.yaml"</td> |
114 | 137 | </tr>
|
115 | 138 | <tr>
|
116 |
| - <td></td><td style="line-height: 130%; word-wrap: break-word;">调度程序清单的路径</td> |
| 139 | +<td></td><td style="line-height: 130%; word-wrap: break-word;">调度程序清单的路径</td> |
117 | 140 | </tr>
|
118 | 141 |
|
| 142 | +</tbody> |
| 143 | +</table> |
| 144 | + |
119 | 145 | <!--
|
120 | 146 | ### Options inherited from parent commands
|
121 | 147 |
|
122 |
| -``` |
| 148 | + <table style="width: 100%; table-layout: fixed;"> |
| 149 | +<colgroup> |
| 150 | +<col span="1" style="width: 10px;" /> |
| 151 | +<col span="1" /> |
| 152 | +</colgroup> |
| 153 | +<tbody> |
| 154 | +
|
123 | 155 | <tr>
|
124 |
| - <td colspan="2">--rootfs string</td> |
| 156 | +<td colspan="2">--rootfs string</td> |
125 | 157 | </tr>
|
126 | 158 | <tr>
|
127 |
| - <td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td> |
| 159 | +<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td> |
128 | 160 | </tr>
|
129 |
| -``` |
| 161 | +
|
| 162 | +</tbody> |
| 163 | +</table> |
130 | 164 |
|
131 | 165 | -->
|
| 166 | + |
132 | 167 | ### 从父命令继承的选项
|
133 | 168 |
|
| 169 | + <table style="width: 100%; table-layout: fixed;"> |
| 170 | +<colgroup> |
| 171 | +<col span="1" style="width: 10px;" /> |
| 172 | +<col span="1" /> |
| 173 | +</colgroup> |
| 174 | +<tbody> |
134 | 175 |
|
135 | 176 | <tr>
|
136 |
| - <td colspan="2">--rootfs string</td> |
| 177 | +<td colspan="2">--rootfs string</td> |
137 | 178 | </tr>
|
138 | 179 | <tr>
|
139 |
| - <td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] “真实”主机根文件系统的路径。</td> |
| 180 | +<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] “真实”主机根文件系统的路径。</td> |
140 | 181 | </tr>
|
141 | 182 |
|
| 183 | +</tbody> |
| 184 | +</table> |
| 185 | + |
0 commit comments