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

ipvs mode for kube-proxy with MetalLB on NKE

  • February 22, 2024
  • 1 reply
  • 284 views

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

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
View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

1 reply

JoseNutanix
Nutanix Employee
Forum|alt.badge.img+5
  • Nutanix Employee
  • 150 replies
  • Answer
  • February 22, 2024

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