|
| 1 | +<!-- |
| 2 | +Configures bootstrap token and cluster-info RBAC rules |
| 3 | +--> |
| 4 | +配置启动引导令牌和 cluster-info 的 RBAC 规则 |
| 5 | + |
| 6 | +<!-- |
| 7 | +### Synopsis |
| 8 | +--> |
| 9 | +### 概要 |
| 10 | + |
| 11 | +<!-- |
| 12 | +Configures bootstrap token and cluster-info RBAC rules |
| 13 | +--> |
| 14 | +配置启动引导令牌和 cluster-info 的 RBAC 规则 |
| 15 | + |
| 16 | +```shell |
| 17 | +kubeadm upgrade apply phase bootstrap-token [flags] |
| 18 | +``` |
| 19 | + |
| 20 | +### Options |
| 21 | + |
| 22 | +<table style="width: 100%; table-layout: fixed;"> |
| 23 | +<colgroup> |
| 24 | +<col span="1" style="width: 10px;" /> |
| 25 | +<col span="1" /> |
| 26 | +</colgroup> |
| 27 | +<tbody> |
| 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;"> |
| 34 | +<!-- |
| 35 | +Path to a kubeadm configuration file. |
| 36 | +--> |
| 37 | +<p> |
| 38 | +kubeadm 配置文件的路径。 |
| 39 | +</p> |
| 40 | +</td> |
| 41 | +</tr> |
| 42 | + |
| 43 | +<tr> |
| 44 | +<td colspan="2">--dry-run</td> |
| 45 | +</tr> |
| 46 | +<tr> |
| 47 | +<td></td><td style="line-height: 130%; word-wrap: break-word;"> |
| 48 | +<p> |
| 49 | +<!-- |
| 50 | +Do not change any state, just output what actions would be performed. |
| 51 | +--> |
| 52 | +不更改任何状态,只输出要执行的操作。 |
| 53 | +</p> |
| 54 | +</td> |
| 55 | +</tr> |
| 56 | + |
| 57 | +<tr> |
| 58 | +<td colspan="2">-h, --help</td> |
| 59 | +</tr> |
| 60 | +<tr> |
| 61 | +<td></td><td style="line-height: 130%; word-wrap: break-word;"> |
| 62 | +<p> |
| 63 | +<!-- |
| 64 | +help for bootstrap-token |
| 65 | +--> |
| 66 | +bootstrap-token 操作的帮助命令。 |
| 67 | +</p> |
| 68 | +</td> |
| 69 | +</tr> |
| 70 | + |
| 71 | +<tr> |
| 72 | +<td colspan="2"> |
| 73 | +<!-- |
| 74 | +--kubeconfig string Default: "/etc/kubernetes/admin.conf" |
| 75 | +--> |
| 76 | +--kubeconfig string 默认值: "/etc/kubernetes/admin.conf" |
| 77 | +</td> |
| 78 | +</tr> |
| 79 | +<tr> |
| 80 | +<td></td><td style="line-height: 130%; word-wrap: break-word;"> |
| 81 | +<p> |
| 82 | +<!-- |
| 83 | +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. |
| 84 | +--> |
| 85 | +用于和集群通信的 KubeConfig 文件。如果它没有被设置,那么 kubeadm 将会搜索一个已经存在于标准路径的 KubeConfig 文件。 |
| 86 | +</p> |
| 87 | +</td> |
| 88 | +</tr> |
| 89 | + |
| 90 | +</tbody> |
| 91 | +</table> |
| 92 | + |
| 93 | +### Options inherited from parent commands |
| 94 | + |
| 95 | +<table style="width: 100%; table-layout: fixed;"> |
| 96 | +<colgroup> |
| 97 | +<col span="1" style="width: 10px;" /> |
| 98 | +<col span="1" /> |
| 99 | +</colgroup> |
| 100 | +<tbody> |
| 101 | + |
| 102 | +<tr> |
| 103 | +<td colspan="2">--rootfs string</td> |
| 104 | +</tr> |
| 105 | +<tr> |
| 106 | +<td></td><td style="line-height: 130%; word-wrap: break-word;"><p> |
| 107 | +<!-- |
| 108 | +The path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path. |
| 109 | +--> |
| 110 | +到“真实”主机根文件系统的路径。指定此参数将导致 kubeadm 切换到所提供的路径。 |
| 111 | +</p> |
| 112 | +</td> |
| 113 | +</tr> |
| 114 | + |
| 115 | +</tbody> |
| 116 | +</table> |
0 commit comments