MetalLB: a load balancer for bare metal Kubernetes clusters
- AWS Cluster DevOps Docker Kubernetes MetalLB News Tools
Until recently, Kubernetes did not have the native support for load balancing for the bare metal clusters. MetalLB is the new solution, currently in alpha version, aiming to close that gap.
As of now, Kubernetes comes with Network LB solution, which is actually a glue code calling for various IaaS cloud platforms (AWS, Azure, GCP, etc.). However, deploying Kubernetes on anything but the supported platforms (like a private cloud or a bare metal cluster) resulted in service objects with
spec.type=LoadBalancer to remain in Pending status forever.
Thus said, going for bare metal clusters left Kubernetes administrators with the choice between Nodeport and ExternalIPs, none of which was a perfect solution. MetalLB, a new load balancer offers a Network LB implementation that works on top of standard network equipment.
MetalLB prerequisites and requirements
The prerequisites for MetalLB stable operation include:
- A clean Kubernetes cluster version 1.8.0 or above, without any other load balancing solution installed
- One or several BGP routers working with 4-byte AS numbers (RFC 6793)
- A bundle of IPv4 addresses for the routers to assign
You can test the self-contained minikube MetalLB functionality by following this tutorial. To deploy this tool to a production cluster, please head to the installation and usage guides. This detailed configuration document will help you get the tool up and running in no time.
In case you wish to take part in the project evolution — please follow this hacking guide for technical info. Any usage feedback and suggestions will make the MetalLB developers very happy, so feel free to share your thoughts and ideas!
Feel free to browse through the latest insights and hints on the DevOps, Big Data, Machine Learning and Blockchain from IT Svit!
Upcoming DevOps Conferences 2019
Huge DevOps conferences like AWS re:Invent, DevOps Days, QCon or Jax DevOps always attract lots of attention. We list the events you might want to attend in 2019.
Why perform a periodic IT infrastructure audit?
The product you run and the services you offer are supported by some IT infrastructure. Periodic infrastructure audit helps keep it in check — resilient, performant, reliable.
IT Svit deployment evolution — from 3 hours to 2 minutes
One of IT Svit products is Hurma — an integral HR & recruiting system we developed from scratch. This is the story of how we reduced its deployment time from 3 hours to 2 minutes.
Shortening the feedback loop with Continuous Integration and Continuous Delivery
Every business that has a product or service in continuous development wants to deliver new features as quickly as possible. This is how CI/CD pipelines help shorten the feedback loop.