Cilium
Hard
Networking
What does enabling Maglev consistent hashing in Cilium's kube-proxy replacement give you?
Select your answer:
Show answer and explanation
Answer: All nodes pick the same backend for a connection, with little churn
Explanation
By default each node picks backends on its own, so if a connection's packets start arriving at a different node, for example after an upstream ECMP change, they can land on another backend. With Maglev every node computes the same lookup table from the backend list. Any node then maps a connection to the same backend without syncing state, and adding or removing a backend moves few existing connections.
More hard Cilium questions
- What does Direct Server Return (DSR) mode change in Cilium's NodePort and LoadBalancer handling?
- How are encryption keys distributed when Cilium's transparent encryption uses WireGuard, compared with IPsec?
- Which command lists only the flows that Cilium dropped, for example because of a network policy?
- How can you roll out a new Cilium network policy without risking dropped traffic?
- You want a Cilium policy that limits which traffic can reach the Kubernetes nodes themselves. Which resource and selector do you use?
- Which of these is required to connect two clusters with Cilium ClusterMesh?