ipvs mode for kube-proxy with MetalLB on NKE | Nutanix Community
Skip to main content

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.

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