|
| 1 | + |
| 2 | +<!-- |
| 3 | +Print default upgrade configuration, that can be used for 'kubeadm upgrade' |
| 4 | +--> |
| 5 | +打印可用于 `kubeadm upgrade` 的默认升级配置。 |
| 6 | + |
| 7 | +<!-- |
| 8 | +### Synopsis |
| 9 | +
|
| 10 | +This command prints objects such as the default upgrade configuration that is used for 'kubeadm upgrade'. |
| 11 | +
|
| 12 | +Note that sensitive values like the Bootstrap Token fields are replaced with placeholder values like "abcdef.0123456789abcdef" in order to pass validation but |
| 13 | +not perform the real computation for creating a token. |
| 14 | +--> |
| 15 | +### 概要 |
| 16 | + |
| 17 | +此命令打印 `kubeadm upgrade` 所用的默认升级配置等这类对象。 |
| 18 | + |
| 19 | +请注意,诸如启动引导令牌(Bootstrap Token)字段这类敏感值已替换为 "abcdef.0123456789abcdef" |
| 20 | +这类占位符值用来通过合法性检查,但不执行创建令牌的实际计算。 |
| 21 | + |
| 22 | +``` |
| 23 | +kubeadm config print upgrade-defaults [flags] |
| 24 | +``` |
| 25 | + |
| 26 | +<!-- |
| 27 | +### Options |
| 28 | +--> |
| 29 | +### 选项 |
| 30 | + |
| 31 | + <table style="width: 100%; table-layout: fixed;"> |
| 32 | +<colgroup> |
| 33 | +<col span="1" style="width: 10px;" /> |
| 34 | +<col span="1" /> |
| 35 | +</colgroup> |
| 36 | +<tbody> |
| 37 | + |
| 38 | +<tr> |
| 39 | +<td colspan="2">-h, --help</td> |
| 40 | +</tr> |
| 41 | +<tr> |
| 42 | +<td></td><td style="line-height: 130%; word-wrap: break-word;"><p> |
| 43 | +<!-- |
| 44 | +help for upgrade-defaults |
| 45 | +--> |
| 46 | +upgrade-defaults 操作的帮助命令。 |
| 47 | +</p></td> |
| 48 | +</tr> |
| 49 | + |
| 50 | +</tbody> |
| 51 | +</table> |
| 52 | + |
| 53 | +<!-- |
| 54 | +### Options inherited from parent commands |
| 55 | +--> |
| 56 | +### 从父命令继承的选项 |
| 57 | + |
| 58 | + <table style="width: 100%; table-layout: fixed;"> |
| 59 | +<colgroup> |
| 60 | +<col span="1" style="width: 10px;" /> |
| 61 | +<col span="1" /> |
| 62 | +</colgroup> |
| 63 | +<tbody> |
| 64 | + |
| 65 | +<tr> |
| 66 | +<td colspan="2">--kubeconfig string <!-- Default: -->默认值:"/etc/kubernetes/admin.conf"</td> |
| 67 | +</tr> |
| 68 | +<tr> |
| 69 | +<td></td><td style="line-height: 130%; word-wrap: break-word;"><p> |
| 70 | +<!-- |
| 71 | +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. |
| 72 | +--> |
| 73 | +与集群通信时所使用的 kubeconfig 文件。 |
| 74 | +如果该参数未被设置,则可以在一组标准位置中搜索现有的 kubeconfig 文件。 |
| 75 | +</p></td> |
| 76 | +</tr> |
| 77 | + |
| 78 | +<tr> |
| 79 | +<td colspan="2">--rootfs string</td> |
| 80 | +</tr> |
| 81 | +<tr> |
| 82 | +<td></td><td style="line-height: 130%; word-wrap: break-word;"><p> |
| 83 | +<!-- |
| 84 | +The path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path. |
| 85 | +--> |
| 86 | +到“真实”主机根文件系统的路径。这将导致 kubeadm 切换到所提供的路径。 |
| 87 | +</p></td> |
| 88 | +</tr> |
| 89 | + |
| 90 | +</tbody> |
| 91 | +</table> |
0 commit comments