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