kubernetes-sigs / apiserver-network-proxy

Apache License 2.0
372 stars 177 forks source link

Use information from lease WATCH system to respond to added/removed servers more quickly #648

Open carreter opened 1 month ago

carreter commented 1 month ago

PR #643 adds a new lease-based system for detecting the number of servers each agent should be connected to. However, a lease count is only calculated upon a new server connection request.

An improved version of this system would hook into the lease Informer's event system to initiate a new connection when a new lease is detected.