Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
12402742
Unverified
Commit
12402742
authored
Nov 14, 2018
by
k8s-ci-robot
Committed by
GitHub
Nov 14, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #71037 from rdodev/reset-iptables
Reset helptext alignment
parents
33576d41
d5cd412a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
reset.go
cmd/kubeadm/app/cmd/reset.go
+9
-8
No files found.
cmd/kubeadm/app/cmd/reset.go
View file @
12402742
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment