c52818c03d
This is the first step to rename 'zh' to 'zh-cn'. There are several reasons why we rename the language name.
- The upstream docsy theme changed the language name, leading to many warnings during site build;
The side-effect is that the i18n strings are no longer working.
- We believe renaming the language is the right thing to do, because this move can make room for other variants of Chinese language, such as 'zh-tw', 'zh-sg' etc.
There would be several follow-ups to this PR, such as fixing the intra-site links, adding redirects etc.
We will lock up changes to zh/zh-cn pages for the moment, until this one gets in.
This PR is based on commit cdad0a7342.
4.9 KiB
4.9 KiB
尽最大努力还原通过 'kubeadm init' 或者 'kubeadm join' 操作对主机所作的更改
概要
尽最大努力还原通过 'kubeadm init' 或者 'kubeadm join' 操作对主机所作的更改
"reset" 命令执行以下阶段:
preflight Run reset pre-flight checks
update-cluster-status Remove this node from the ClusterStatus object.
remove-etcd-member Remove a local etcd member.
cleanup-node Run cleanup node.
kubeadm reset [flags]
选项
| --cert-dir string 默认值:"/etc/kubernetes/pki" | |
|
存储证书的目录路径。如果已指定,则需要清空此目录。 |
|
| --cri-socket string | |
要连接的 CRI 套接字的路径。如果为空,则 kubeadm 将尝试自动检测此值;仅当安装了多个CRI 或具有非标准 CRI 插槽时,才使用此选项。 |
|
| --dry-run | |
|
不要应用任何更改;只需输出将要做什么。 |
|
| -f, --force | |
|
在不提示确认的情况下重置节点。 |
|
| -h, --help | |
|
reset 操作的帮助命令 |
|
| --ignore-preflight-errors strings | |
|
错误将显示为警告的检查列表;例如:'IsPrivilegedUser,Swap'。取值为 'all' 时将忽略检查中的所有错误。 |
|
|
--kubeconfig string 默认值:"/etc/kubernetes/admin.conf" |
|
|
与集群通信时使用的 kubeconfig 文件。如果未设置该标志,则可以在一组标准位置中搜索现有的 kubeconfig 文件。 |
|
| --skip-phases strings | |
|
要跳过的阶段列表 |
|
从父命令继承的选项
| --rootfs string | |
|
[实验] 指向 '真实' 宿主机根文件系统的路径。 |
|