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
def9c996
Commit
def9c996
authored
Feb 01, 2022
by
Manuel Buil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the iptables rules from ipmasq flannel
Signed-off-by:
Manuel Buil
<
mbuil@suse.com
>
parent
35582e62
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
install.sh
install.sh
+2
-2
install.sh
package/rpm/install.sh
+2
-2
No files found.
install.sh
View file @
def9c996
...
@@ -672,8 +672,8 @@ ip link delete cni0
...
@@ -672,8 +672,8 @@ ip link delete cni0
ip link delete flannel.1
ip link delete flannel.1
ip link delete flannel-v6.1
ip link delete flannel-v6.1
rm -rf /var/lib/cni/
rm -rf /var/lib/cni/
iptables-save | grep -v KUBE- | grep -v CNI- | iptables-restore
iptables-save | grep -v KUBE- | grep -v CNI- |
grep -v flannel |
iptables-restore
ip6tables-save | grep -v KUBE- | grep -v CNI- | ip6tables-restore
ip6tables-save | grep -v KUBE- | grep -v CNI- |
grep -v flannel |
ip6tables-restore
EOF
EOF
$SUDO
chmod
755
${
KILLALL_K3S_SH
}
$SUDO
chmod
755
${
KILLALL_K3S_SH
}
$SUDO
chown
root:root
${
KILLALL_K3S_SH
}
$SUDO
chown
root:root
${
KILLALL_K3S_SH
}
...
...
package/rpm/install.sh
View file @
def9c996
...
@@ -563,8 +563,8 @@ ip link delete cni0
...
@@ -563,8 +563,8 @@ ip link delete cni0
ip link delete flannel.1
ip link delete flannel.1
ip link delete flannel-v6.1
ip link delete flannel-v6.1
rm -rf /var/lib/cni/
rm -rf /var/lib/cni/
iptables-save | grep -v KUBE- | grep -v CNI- | iptables-restore
iptables-save | grep -v KUBE- | grep -v CNI- |
grep -v flannel |
iptables-restore
ip6tables-save | grep -v KUBE- | grep -v CNI- | ip6tables-restore
ip6tables-save | grep -v KUBE- | grep -v CNI- |
grep -v flannel |
ip6tables-restore
EOF
EOF
$SUDO
chmod
755
${
KILLALL_K3S_SH
}
$SUDO
chmod
755
${
KILLALL_K3S_SH
}
$SUDO
chown
root:root
${
KILLALL_K3S_SH
}
$SUDO
chown
root:root
${
KILLALL_K3S_SH
}
...
...
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