Unverified Commit 12402742 authored by k8s-ci-robot's avatar k8s-ci-robot Committed by GitHub

Merge pull request #71037 from rdodev/reset-iptables

Reset helptext alignment
parents 33576d41 d5cd412a
...@@ -187,14 +187,15 @@ func (r *Reset) Run(out io.Writer, client clientset.Interface) error { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment