Add kubeadm_init_phase_kubeconfig_controller-manager.md and kubeadm_init_phase_mark-control-plane.md in zh doc.#14456
Conversation
ChongmingDu
commented
May 22, 2019
| @@ -0,0 +1,137 @@ | |||
|
|
|||
| <!-- Generates a kubeconfig file for the controller manager to use --> | |||
| 为 controller manager 生成要使用的 kubeconfig 文件 | |||
There was a problem hiding this comment.
| 为 controller manager 生成要使用的 kubeconfig 文件 | |
| 为控制器管理器生成要使用的 kubeconfig 文件 |
|
|
||
|
|
||
| <!-- Generates the kubeconfig file for the controller manager to use and saves it to controller-manager.conf file --> | ||
| 生成 controller manager 要使用的的 kubeconfig ,并保存到 controller-manager.conf 文件中 |
There was a problem hiding this comment.
| 生成 controller manager 要使用的的 kubeconfig ,并保存到 controller-manager.conf 文件中 | |
| 生成控制器管理器要使用的的 kubeconfig ,并保存到 controller-manager.conf 文件中 |
| <td colspan="2">--apiserver-advertise-address 字符串</td> | ||
| </tr> | ||
| <tr> | ||
| <td></td><td style="line-height: 130%; word-wrap: break-word;"> API Server 将 advertise listening 设置的IP地址为当前监听的地址。“0.0.0.0”以使用默认指定的网络接口地址。</td> |
There was a problem hiding this comment.
| <td></td><td style="line-height: 130%; word-wrap: break-word;"> API Server 将 advertise listening 设置的IP地址为当前监听的地址。“0.0.0.0”以使用默认指定的网络接口地址。</td> | |
| <td></td><td style="line-height: 130%; word-wrap: break-word;"> API 服务器对外发布的当前监听地址。设置此值为 “0.0.0.0” 以使用默认网络接口的 IP 地址。</td> |
.../reference/setup-tools/kubeadm/generated/kubeadm_init_phase_kubeconfig_controller-manager.md
Show resolved
Hide resolved
| <td colspan="2">-h, --help</td> | ||
| </tr> | ||
| <tr> | ||
| <td></td><td style="line-height: 130%; word-wrap: break-word;"> controller-manager 的帮助</td> |
There was a problem hiding this comment.
| <td></td><td style="line-height: 130%; word-wrap: break-word;"> controller-manager 的帮助</td> | |
| <td></td><td style="line-height: 130%; word-wrap: break-word;"> controller-manager 命令的帮助</td> |
| <td colspan="2">--rootfs 字符串</td> | ||
| </tr> | ||
| <tr> | ||
| <td></td><td style="line-height: 130%; word-wrap: break-word;">[实验] “真正的”主机 Rootfs 的路径。</td> |
There was a problem hiding this comment.
| <td></td><td style="line-height: 130%; word-wrap: break-word;">[实验] “真正的”主机 Rootfs 的路径。</td> | |
| <td></td><td style="line-height: 130%; word-wrap: break-word;">[实验] 主机根文件系统的“真实”路径。</td> |
| ### 例子 | ||
|
|
||
| ``` | ||
| # Applies control-plane label and taint to the current node, functionally equivalent to what executed by kubeadm init. |
| # 将控制平面的标签和污点应用于当前节点,功能上等同于 kubeadm init 执行的操作。 | ||
| kubeadm init phase mark-control-plane --config config.yml | ||
|
|
||
| # Applies control-plane label and taint to a specific node |
| <td colspan="2">-h, --help</td> | ||
| </tr> | ||
| <tr> | ||
| <td></td><td style="line-height: 130%; word-wrap: break-word;">标记控制平面的帮助</td> |
There was a problem hiding this comment.
| <td></td><td style="line-height: 130%; word-wrap: break-word;">标记控制平面的帮助</td> | |
| <td></td><td style="line-height: 130%; word-wrap: break-word;">mark-control-plane 命令的帮助</td> |
| <td colspan="2">--rootfs 字符串</td> | ||
| </tr> | ||
| <tr> | ||
| <td></td><td style="line-height: 130%; word-wrap: break-word;">[实验] “真正的”主机 Rootfs 的路径。</td> |
There was a problem hiding this comment.
| <td></td><td style="line-height: 130%; word-wrap: break-word;">[实验] “真正的”主机 Rootfs 的路径。</td> | |
| <td></td><td style="line-height: 130%; word-wrap: break-word;">[实验] 主机根文件系统的“真实”路径。</td> |
chenrui333
left a comment
There was a problem hiding this comment.
Same kind of comments as Qiming 😄 . Thanks for contributions!
|
@chenrui333 @tengqm Already updated. |
| <td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save and store the certificates.</td> | ||
| </tr> --> | ||
| <tr> | ||
| <td colspan="2">--cert-dir string Default: "/etc/kubernetes/pki"</td> |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: markthink The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
sorry for replying late. but 👍 for the work! |
…nit_phase_mark-control-plane.md in zh doc. (kubernetes#14456) * Add kubeadm_init_phase_mark-control-plane.md * Add kubeadm_init_phase_kubeconfig_controller-manager.md * Update err. * fix error * Fix error.