ipvs mode for kube-proxy with MetalLB on NKE

  • 22 February 2024
  • 1 reply

I'm in the process of installing MetalLB on Nutanix Kubernetes Engine (NKE) to provide LoadBalancer services. According to MetalLB's documentation, it prefers (requires) kube-proxy to run in ipvs mode for optimal performance. However, I've noticed that NKE defaults to iptables mode for kube-proxy, and my attempts to switch to ipvs mode have been unsuccessful.

Has anyone successfully configured ipvs mode for kube-proxy on NKE? If so, could you share the steps or guidance on how to achieve this? Any tips or resources would be greatly appreciated as the standard documentation and methods don't seem to apply directly to NKE.

I referred to this blog: Utilizing MetalLB to Provide LoadBalancer Services for Nutanix Karbon.


Best answer by JoseNutanix 22 February 2024, 08:36

View original

This topic has been closed for comments

1 reply

Userlevel 4
Badge +5

Hi Yerbol,

As you saw, NKE uses iptables mode and it cannot be changed. IPVS is not a requirement for MetalLB, you can install it by simply making sure:

  1. Install the manifest 
  2. Create an IPAddressPool
  3. Create a L2Advertisement