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 design 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!
Big Data misuse can break your business
Correct use of the Big Data analytics and ML algorithms helps boost the customer satisfaction, secure the bottom line and increase the ROI. Quite opposite, the Big Data misuse results will be awful.
Trust or caution? Importance of NDA for Startups
NDA is one of the main judicial instruments of a startup, both a shield and a sword. Just keep in mind, the importance of NDA for startups is a double-edged sword. Why do we think so?
SLA benefits: why do you need SLA and what does it cover
SLA or a Service Level Agreement is a document highlighting the measurable metrics and results the customer expects to receive and the contractor is bound to provide. We list the SLA benefits below.
Blockchain technology explained to your grandma
The blockchain will shape the future of multiple industries, yet many people still don’t know how it works. We tried to make the blockchain technology explained in a way even a grandma will get.