Graduating EndpointSliceProxying to beta for Linux

This commit is contained in:
Rob Scott
2020-07-01 18:47:22 -07:00
parent 5577214128
commit 8039cf9bb1
3 changed files with 12 additions and 4 deletions

View File

@@ -579,7 +579,7 @@ func NewProxier(
}
isIPv6 := utilnet.IsIPv6(nodeIP)
endpointSlicesEnabled := utilfeature.DefaultFeatureGate.Enabled(features.EndpointSliceProxying)
endpointSlicesEnabled := utilfeature.DefaultFeatureGate.Enabled(features.WindowsEndpointSliceProxying)
proxier := &Proxier{
endPointsRefCount: make(endPointsReferenceCountMap),
portsMap: make(map[utilproxy.LocalPort]utilproxy.Closeable),
@@ -779,7 +779,7 @@ func (proxier *Proxier) OnServiceDelete(service *v1.Service) {
func (proxier *Proxier) OnServiceSynced() {
proxier.mu.Lock()
proxier.servicesSynced = true
if utilfeature.DefaultFeatureGate.Enabled(features.EndpointSliceProxying) {
if utilfeature.DefaultFeatureGate.Enabled(features.WindowsEndpointSliceProxying) {
proxier.setInitialized(proxier.endpointSlicesSynced)
} else {
proxier.setInitialized(proxier.endpointsSynced)