mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 03:03:59 +00:00
Merge pull request #71037 from rdodev/reset-iptables
Reset helptext alignment
This commit is contained in:
commit
1240274204
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user