Merge pull request #106163 from aojea/conntrack_readiness

kube-proxy consider endpoint readiness to delete UDP stale conntrack entries
This commit is contained in:
Kubernetes Prow Robot
2021-11-08 13:11:44 -08:00
committed by GitHub
4 changed files with 131 additions and 4 deletions

View File

@@ -164,7 +164,8 @@ func (e *endpointsInfo) Equal(other proxy.Endpoint) bool {
return e.Endpoint == o.Endpoint &&
e.IsLocal == o.IsLocal &&
e.protocol == o.protocol &&
e.chainName == o.chainName
e.chainName == o.chainName &&
e.Ready == o.Ready
}
// Returns the endpoint chain name for a given endpointsInfo.