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
43ded7c4
Commit
43ded7c4
authored
May 02, 2019
by
Andrew Sy Kim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
create new ipset KUBE-NODE-PORT-SCTP-HASH and KUBE-NODE-PORT-LOCAL-SCTP-HASH for ipvs proxier
Signed-off-by:
Andrew Sy Kim
<
kiman@vmware.com
>
parent
5b47a92a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
ipset.go
pkg/proxy/ipvs/ipset.go
+14
-4
No files found.
pkg/proxy/ipvs/ipset.go
View file @
43ded7c4
...
...
@@ -65,11 +65,21 @@ const (
kubeNodePortLocalSetUDPComment
=
"Kubernetes nodeport UDP port with externalTrafficPolicy=local"
kubeNodePortLocalSetUDP
=
"KUBE-NODE-PORT-LOCAL-UDP"
kubeNodePortSetSCTPComment
=
"Kubernetes nodeport SCTP port for masquerade purpose"
kubeNodePortSetSCTP
=
"KUBE-NODE-PORT-SCTP"
// This ipset is no longer active but still used in previous versions.
// DO NOT create an ipset using this name
legacyKubeNodePortSetSCTPComment
=
"Kubernetes nodeport SCTP port for masquerade purpose"
legacyKubeNodePortSetSCTP
=
"KUBE-NODE-PORT-SCTP"
kubeNodePortLocalSetSCTPComment
=
"Kubernetes nodeport SCTP port with externalTrafficPolicy=local"
kubeNodePortLocalSetSCTP
=
"KUBE-NODE-PORT-LOCAL-SCTP"
// This ipset is no longer active but still used in previous versions.
// DO NOT create an ipset using this name
legacyKubeNodePortLocalSetSCTPComment
=
"Kubernetes nodeport SCTP port with externalTrafficPolicy=local"
legacyKubeNodePortLocalSetSCTP
=
"KUBE-NODE-PORT-LOCAL-SCTP"
kubeNodePortSetSCTPComment
=
"Kubernetes nodeport SCTP port for masquerade purpose with type 'hash ip:port'"
kubeNodePortSetSCTP
=
"KUBE-NODE-PORT-SCTP-HASH"
kubeNodePortLocalSetSCTPComment
=
"Kubernetes nodeport SCTP port with externalTrafficPolicy=local with type 'hash ip:port'"
kubeNodePortLocalSetSCTP
=
"KUBE-NODE-PORT-LOCAL-SCTP-HASH"
)
// IPSetVersioner can query the current ipset version.
...
...
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