mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
reset helptext alignment
Signed-off-by: Ruben Orduz <rubenoz@gmail.com>
This commit is contained in:
parent
89a5d5cadd
commit
d5cd412ae0
@ -184,14 +184,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