mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-21 09:57:52 +00:00
Graduate EndpointSliceProxying and WindowsEndpointSliceProxying Gates
This commit is contained in:
@@ -27,7 +27,7 @@ import (
|
||||
// labels, and enabled feature gates. This is primarily used to enable topology
|
||||
// aware routing.
|
||||
func FilterEndpoints(endpoints []Endpoint, svcInfo ServicePort, nodeLabels map[string]string) []Endpoint {
|
||||
if svcInfo.NodeLocalExternal() || !utilfeature.DefaultFeatureGate.Enabled(features.EndpointSliceProxying) {
|
||||
if svcInfo.NodeLocalExternal() {
|
||||
return endpoints
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user