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()

View File

@@ -61,7 +61,6 @@ ComponentConfigs:
OOMScoreAdj: -999
PortRange: ""
ResourceContainer: /kube-proxy
SCTPUserSpaceNode: false
UDPIdleTimeout: 250ms
Kubelet:
Address: 1.2.3.4

View File

@@ -64,7 +64,6 @@ kubeProxy:
oomScoreAdj: -999
portRange: ""
resourceContainer: /kube-proxy
sctpUserSpaceNode: false
udpIdleTimeout: 250ms
kubeletConfiguration:
baseConfig:

View File

@@ -80,7 +80,6 @@ nodePortAddresses: null
oomScoreAdj: -999
portRange: ""
resourceContainer: /kube-proxy
sctpUserSpaceNode: false
udpIdleTimeout: 250ms
---
address: 1.2.3.4

View File

@@ -75,7 +75,6 @@ nodePortAddresses: null
oomScoreAdj: -999
portRange: ""
resourceContainer: /kube-proxy
sctpUserSpaceNode: false
udpIdleTimeout: 250ms
---
address: 0.0.0.0