-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ZH-trans: ad kubeadm_alpha_phase_kubelet_config_write-to-disk.md (#12004
) * Create kubeadm_alpha_phase_kubelet_config_write-to-disk.md * Update kubeadm_alpha_phase_kubelet_config_write-to-disk.md
- Loading branch information
1 parent
2f1b680
commit b87a92d
Showing
1 changed file
with
106 additions
and
0 deletions.
There are no files selected for viewing
106 changes: 106 additions & 0 deletions
106
...tup-tools/kubeadm/generated/kubeadm_alpha_phase_kubelet_config_write-to-disk.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
|
||
基于 --config 参数将 kubelet 配置写到磁盘。 | ||
<!-- | ||
Writes kubelet configuration to disk, either based on the --config argument. | ||
--> | ||
|
||
<!-- | ||
### Synopsis | ||
--> | ||
|
||
### 概要 | ||
|
||
<!-- | ||
Writes kubelet configuration to disk, based on the kubeadm configuration passed via "--config". | ||
--> | ||
基于 "--config" 传递的 kubeadm 配置,将 kubelet 配置写入磁盘。。 | ||
|
||
<!-- | ||
Alpha Disclaimer: this command is currently alpha. | ||
--> | ||
Alpha 免责声明:此命令目前属于 alpha 阶段。 | ||
|
||
``` | ||
kubeadm alpha phase kubelet config write-to-disk [flags] | ||
``` | ||
|
||
<!-- | ||
### Examples | ||
--> | ||
|
||
### 例子 | ||
|
||
<!-- | ||
# Extracts the kubelet configuration from a kubeadm configuration file | ||
--> | ||
|
||
``` | ||
# 从 kubeadm 配置文件中提取 kubelet 配置 | ||
kubeadm alpha phase kubelet config write-to-disk --config kubeadm.yaml | ||
``` | ||
|
||
<!-- | ||
### Options | ||
--> | ||
|
||
### 选项 | ||
|
||
<table style="width: 100%; table-layout: fixed;"> | ||
<colgroup> | ||
<col span="1" style="width: 10px;" /> | ||
<col span="1" /> | ||
</colgroup> | ||
<tbody> | ||
|
||
<tr> | ||
<td colspan="2">--config string</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;">kubeadm 配置文件的路径(警告:配置文件的使用是实验性的)</td> | ||
</tr> | ||
<!-- | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)</td> | ||
--> | ||
|
||
<tr> | ||
<td colspan="2">-h, --help</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;">write-to-disk 的帮助信息</td> | ||
</tr> | ||
<!-- | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for write-to-disk</td> | ||
--> | ||
|
||
</tbody> | ||
</table> | ||
|
||
|
||
<!-- | ||
### Options inherited from parent commands | ||
--> | ||
|
||
### 从父命令继承的选项 | ||
|
||
<table style="width: 100%; table-layout: fixed;"> | ||
<colgroup> | ||
<col span="1" style="width: 10px;" /> | ||
<col span="1" /> | ||
</colgroup> | ||
<tbody> | ||
|
||
<tr> | ||
<td colspan="2">--rootfs string</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;">[实验] 到'真实'主机根文件系统的路径。</td> | ||
</tr> | ||
<!-- | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td> | ||
--> | ||
|
||
</tbody> | ||
</table> | ||
|
||
|
||
|