kube-proxy’s iptables mode load-balances with a cascade of -m statistic –mode random rules, each with probability 1/(n-i), so no per-service state, hash table or lock exists in the …
The adaptive formula max(50-N/125, 5) percent, an absolute floor of 100 feasible nodes, and a rotating start index that keeps any node from being permanently starved.
The scheduler cache keeps a recency-ordered list of NodeInfos with monotonic Generation stamps; each cycle clones only the nodes whose generation moved, sharing everything else by …