Changes according to the approved KEP. SCTP is supported for HostPort and LoadBalancer. Alpha feature flag SCTPSupport controls the support of SCTP. Kube-proxy config parameter is removed.

This commit is contained in:
Laszlo Janosi
2018-08-25 20:26:25 +00:00
parent a6da2b1472
commit e466bdc67e
25 changed files with 104 additions and 114 deletions

View File

@@ -166,7 +166,6 @@ func newProxyServer(
recorder,
healthzUpdater,
config.NodePortAddresses,
config.SCTPUserSpaceNode,
)
if err != nil {
return nil, fmt.Errorf("unable to create proxier: %v", err)
@@ -206,7 +205,6 @@ func newProxyServer(
healthzServer,
config.IPVS.Scheduler,
config.NodePortAddresses,
config.SCTPUserSpaceNode,
)
if err != nil {
return nil, fmt.Errorf("unable to create proxier: %v", err)

View File

@@ -211,7 +211,6 @@ udpIdleTimeout: 123ms
nodePortAddresses:
- "10.20.30.40/16"
- "fd00:1::0/64"
sctpUserSpaceNode: false
`
testCases := []struct {
@@ -326,7 +325,6 @@ sctpUserSpaceNode: false
ResourceContainer: "/foo",
UDPIdleTimeout: metav1.Duration{Duration: 123 * time.Millisecond},
NodePortAddresses: []string{"10.20.30.40/16", "fd00:1::0/64"},
SCTPUserSpaceNode: false,
}
options := NewOptions()