|
| 1 | +<!-- |
| 2 | +The file is auto-generated from the Go source code of the component using a generic |
| 3 | +[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how |
| 4 | +to generate the reference documentation, please read |
| 5 | +[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/). |
| 6 | +To update the reference conent, please follow the |
| 7 | +[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/) |
| 8 | +guide. You can file document formatting bugs against the |
| 9 | +[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project. |
| 10 | +--> |
| 11 | + |
| 12 | + |
| 13 | +Performs a best effort revert of changes made to this host by 'kubeadm init' or 'kubeadm join' |
| 14 | + |
| 15 | +### Synopsis |
| 16 | + |
| 17 | + |
| 18 | +Performs a best effort revert of changes made to this host by 'kubeadm init' or 'kubeadm join' |
| 19 | + |
| 20 | +The "reset" command executes the following phases: |
| 21 | +``` |
| 22 | +preflight Run reset pre-flight checks |
| 23 | +remove-etcd-member Remove a local etcd member. |
| 24 | +cleanup-node Run cleanup node. |
| 25 | +``` |
| 26 | + |
| 27 | + |
| 28 | +``` |
| 29 | +kubeadm reset [flags] |
| 30 | +``` |
| 31 | + |
| 32 | +### Options |
| 33 | + |
| 34 | + <table style="width: 100%; table-layout: fixed;"> |
| 35 | +<colgroup> |
| 36 | +<col span="1" style="width: 10px;" /> |
| 37 | +<col span="1" /> |
| 38 | +</colgroup> |
| 39 | +<tbody> |
| 40 | + |
| 41 | +<tr> |
| 42 | +<td colspan="2">--cert-dir string Default: "/etc/kubernetes/pki"</td> |
| 43 | +</tr> |
| 44 | +<tr> |
| 45 | +<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>The path to the directory where the certificates are stored. If specified, clean this directory.</p></td> |
| 46 | +</tr> |
| 47 | + |
| 48 | +<tr> |
| 49 | +<td colspan="2">--cri-socket string</td> |
| 50 | +</tr> |
| 51 | +<tr> |
| 52 | +<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>Path to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.</p></td> |
| 53 | +</tr> |
| 54 | + |
| 55 | +<tr> |
| 56 | +<td colspan="2">-f, --force</td> |
| 57 | +</tr> |
| 58 | +<tr> |
| 59 | +<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>Reset the node without prompting for confirmation.</p></td> |
| 60 | +</tr> |
| 61 | + |
| 62 | +<tr> |
| 63 | +<td colspan="2">-h, --help</td> |
| 64 | +</tr> |
| 65 | +<tr> |
| 66 | +<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>help for reset</p></td> |
| 67 | +</tr> |
| 68 | + |
| 69 | +<tr> |
| 70 | +<td colspan="2">--ignore-preflight-errors strings</td> |
| 71 | +</tr> |
| 72 | +<tr> |
| 73 | +<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.</p></td> |
| 74 | +</tr> |
| 75 | + |
| 76 | +<tr> |
| 77 | +<td colspan="2">--kubeconfig string Default: "/etc/kubernetes/admin.conf"</td> |
| 78 | +</tr> |
| 79 | +<tr> |
| 80 | +<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>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.</p></td> |
| 81 | +</tr> |
| 82 | + |
| 83 | +<tr> |
| 84 | +<td colspan="2">--skip-phases strings</td> |
| 85 | +</tr> |
| 86 | +<tr> |
| 87 | +<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>List of phases to be skipped</p></td> |
| 88 | +</tr> |
| 89 | + |
| 90 | +</tbody> |
| 91 | +</table> |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | +### Options inherited from parent commands |
| 96 | + |
| 97 | + <table style="width: 100%; table-layout: fixed;"> |
| 98 | +<colgroup> |
| 99 | +<col span="1" style="width: 10px;" /> |
| 100 | +<col span="1" /> |
| 101 | +</colgroup> |
| 102 | +<tbody> |
| 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;"><p>[EXPERIMENTAL] The path to the 'real' host root filesystem.</p></td> |
| 109 | +</tr> |
| 110 | + |
| 111 | +</tbody> |
| 112 | +</table> |
| 113 | + |
| 114 | + |
| 115 | + |
0 commit comments