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