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