Fix descriptions of kubeadm

* Remove the example iptables cmd that potentially kills rules that user
  may be relying on
* Fixed a typo in description of phase bootstrap-token
This commit is contained in:
Quan Tian 2019-07-02 03:25:35 -07:00
parent a807cb625b
commit 0d732009cc
2 changed files with 2 additions and 4 deletions

View File

@ -31,7 +31,7 @@ import (
var ( var (
bootstrapTokenLongDesc = cmdutil.LongDesc(` bootstrapTokenLongDesc = cmdutil.LongDesc(`
Bootstrap tokens are used for establishing bidirectional trust between a node joining Bootstrap tokens are used for establishing bidirectional trust between a node joining
the cluster and a the control-plane node. the cluster and a control-plane node.
This command makes all the configurations required to make bootstrap tokens works This command makes all the configurations required to make bootstrap tokens works
and then creates an initial token. and then creates an initial token.

View File

@ -42,9 +42,7 @@ import (
var ( var (
iptablesCleanupInstructions = dedent.Dedent(` iptablesCleanupInstructions = dedent.Dedent(`
The reset process does not reset or clean up iptables rules or IPVS tables. The reset process does not reset or clean up iptables rules or IPVS tables.
If you wish to reset iptables, you must do so manually. If you wish to reset iptables, you must do so manually by using the "iptables" command.
For example:
iptables -F && iptables -t nat -F && iptables -t mangle -F && iptables -X
If your cluster was setup to utilize IPVS, run ipvsadm --clear (or similar) If your cluster was setup to utilize IPVS, run ipvsadm --clear (or similar)
to reset your system's IPVS tables. to reset your system's IPVS tables.