MetalLB 0.10: Bare Metal Load Balancing for Kubernetes

K8s Guru
2 min read
MetalLB 0.10: Bare Metal Load Balancing for Kubernetes

Introduction

MetalLB 0.10 — Bare Metal Load Balancing for Kubernetes — was released on September 15, 2021.

Edge and east-west traffic paths tend to be where reliability and security issues show up first — so small gateway and proxy changes can have outsized impact.

In this release: MetalLB 0.10 enhances bare metal load balancing with improved BGP support, L2 enhancements, and better Kubernetes integration for on-premises deployments.


BGP Improvements

  • BGP peer management enhancements simplify configuration and monitoring of BGP sessions.
  • Route advertisement improvements provide better control over IP address distribution.
  • Multi-protocol support enables BGP for both IPv4 and IPv6 addressing.
  • Failover enhancements provide automatic failover during BGP peer failures.

L2 Mode Enhancements

  1. ARP/NDP improvements provide more reliable address resolution in L2 mode.
  2. Leader election enhancements ensure reliable failover for L2 announcements.
  3. Network interface support expansion enables more deployment scenarios.
  4. Performance optimizations reduce latency for service IP assignment.

Kubernetes Integration

  • Service integration improvements provide better alignment with Kubernetes Service resources.
  • IP pool management enhancements enable more flexible IP address allocation.
  • Multi-cluster support enables sharing IP pools across cluster boundaries.
  • Metrics expansion provides detailed metrics for load balancer operations.

Operational Features

  • Configuration improvements simplify setup and management of MetalLB.
  • Monitoring enhancements provide better visibility into load balancer health.
  • Troubleshooting tools improve debugging of BGP and L2 issues.
  • Documentation expansion includes comprehensive guides for common scenarios.

Getting Started

kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.10.0/config/manifests/metallb-native.yaml

Configure IP pool:

apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
  name: default-pool
  namespace: metallb-system
spec:
  addresses:
  - 192.168.1.100-192.168.1.200

Summary

AspectDetails
Release DateSeptember 15, 2021
Headline FeaturesBGP improvements, L2 enhancements, better Kubernetes integration
Why it MattersEnables production-grade load balancing for Kubernetes on bare metal and edge environments

MetalLB 0.10 continues to evolve as the standard solution for load balancing in bare metal Kubernetes deployments.