Merge pull request #71037 from rdodev/reset-iptables

Reset helptext alignment
This commit is contained in:
k8s-ci-robot 2018-11-14 15:39:46 -08:00 committed by GitHub
commit 1240274204
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,14 +187,15 @@ func (r *Reset) Run(out io.Writer, client clientset.Interface) error {
// Output help text instructing user how to remove iptables rules // Output help text instructing user how to remove iptables rules
msg := ` msg := `
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.
For example: For example:
iptables -F && iptables -t nat -F && iptables -t mangle -F && iptables -X 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.
`
`
fmt.Print(msg) fmt.Print(msg)
return nil return nil