[zh] Fix table format for kubeadm commands
This commit is contained in:
@@ -2,10 +2,9 @@
|
||||
<!--
|
||||
### Synopsis
|
||||
-->
|
||||
|
||||
### 摘要
|
||||
|
||||
|
||||
|
||||
<!--
|
||||
┌──────────────────────────────────────────────────────────┐
|
||||
│ KUBEADM │
|
||||
@@ -15,17 +14,21 @@
|
||||
│ https://github.com/kubernetes/kubeadm/issues │
|
||||
└──────────────────────────────────────────────────────────┘
|
||||
-->
|
||||
┌──────────────────────────────────────────────────────────┐
|
||||
│ KUBEADM │
|
||||
│ 轻松创建一个安全的 Kubernetes 集群 │
|
||||
│ │
|
||||
│ 给我们反馈意见的地址: │
|
||||
│ https://github.com/kubernetes/kubeadm/issues │
|
||||
└──────────────────────────────────────────────────────────┘
|
||||
|
||||
```
|
||||
┌──────────────────────────────────────────────────────────┐
|
||||
│ KUBEADM │
|
||||
│ 轻松创建一个安全的 Kubernetes 集群 │
|
||||
│ │
|
||||
│ 给我们反馈意见的地址: │
|
||||
│ https://github.com/kubernetes/kubeadm/issues │
|
||||
└──────────────────────────────────────────────────────────┘
|
||||
```
|
||||
|
||||
<!--
|
||||
Example usage:
|
||||
-->
|
||||
|
||||
用途示例:
|
||||
|
||||
<!--
|
||||
@@ -33,7 +36,8 @@ Example usage:
|
||||
(which controls the cluster), and one worker node
|
||||
(where your workloads, like Pods and Deployments run).
|
||||
-->
|
||||
创建一个有两台机器的集群,包含一个主节点(用来控制集群),和一个工作节点(运行您的工作负载,像 Pod 和 Deployment)。
|
||||
|
||||
创建一个有两台机器的集群,包含一个主节点(用来控制集群),和一个工作节点(运行您的工作负载,像 Pod 和 Deployment)。
|
||||
|
||||
<!--
|
||||
┌──────────────────────────────────────────────────────────┐
|
||||
@@ -50,56 +54,60 @@ Example usage:
|
||||
|
||||
You can then repeat the second step on as many other machines as you like.
|
||||
-->
|
||||
┌──────────────────────────────────────────────────────────┐
|
||||
│ 在第一台机器上: │
|
||||
├──────────────────────────────────────────────────────────┤
|
||||
│ control-plane# kubeadm init │
|
||||
└──────────────────────────────────────────────────────────┘
|
||||
|
||||
┌──────────────────────────────────────────────────────────┐
|
||||
│ 在第二台机器上: │
|
||||
├──────────────────────────────────────────────────────────┤
|
||||
│ worker# kubeadm join <arguments-returned-from-init> │
|
||||
└──────────────────────────────────────────────────────────┘
|
||||
```
|
||||
┌──────────────────────────────────────────────────────────┐
|
||||
│ 在第一台机器上: │
|
||||
├──────────────────────────────────────────────────────────┤
|
||||
│ control-plane# kubeadm init │
|
||||
└──────────────────────────────────────────────────────────┘
|
||||
|
||||
您可以重复第二步,向集群添加更多机器。
|
||||
┌──────────────────────────────────────────────────────────┐
|
||||
│ 在第二台机器上: │
|
||||
├──────────────────────────────────────────────────────────┤
|
||||
│ worker# kubeadm join <arguments-returned-from-init>│
|
||||
└──────────────────────────────────────────────────────────┘
|
||||
```
|
||||
|
||||
您可以重复第二步,向集群添加更多机器。
|
||||
|
||||
<!--
|
||||
### Options
|
||||
-->
|
||||
|
||||
### 选项
|
||||
|
||||
<table style="width: 100%; table-layout: fixed;">
|
||||
<colgroup>
|
||||
<col span="1" style="width: 10px;" />
|
||||
<col span="1" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<table style="width: 100%; table-layout: fixed;">
|
||||
<colgroup>
|
||||
<col span="1" style="width: 10px;" />
|
||||
<col span="1" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">-h, --help</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
help for kubeadm
|
||||
-->
|
||||
kubeadm 操作的帮助信息
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">-h, --help</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
help for kubeadm
|
||||
-->
|
||||
kubeadm 操作的帮助信息
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">--rootfs string</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
[EXPERIMENTAL] The path to the 'real' host root filesystem.
|
||||
-->
|
||||
[实验] 指向 '真实' 宿主机根文件系统的路径。
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">--rootfs string</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
[EXPERIMENTAL] The path to the 'real' host root filesystem.
|
||||
-->
|
||||
[实验] 指向 '真实' 宿主机根文件系统的路径。
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user