Code Monkey home page Code Monkey logo

metallb's Introduction

MetalLB

MetalLB is a load-balancer implementation for bare metal Kubernetes clusters, using BGP.

Project maturity: alpha license Travis Quay.io Go report card

Why?

Kubernetes does not offer an implementation of network load-balancers (Service objects with spec.type=LoadBalancer) for bare metal clusters. The implementations of Network LB that Kubernetes does ship with are all glue code that calls out to various IaaS platforms (GCP, AWS, Azure...). If you're not running on one of those platforms, LoadBalancers will remain in the "pending" state indefinitely when created.

Bare metal cluster operators are left with two lesser tools to bring user traffic into their clusters, NodePort and externalIPs services. Both of these options have significant downsides for production use, which makes bare metal clusters second class citizens in the Kubernetes ecosystem.

MetalLB aims to redress this imbalance by offering a Network LB implementation that integrates with standard network equipment, so that external services on bare metal clusters also "just work" as much as possible.

Requirements

MetalLB requires the following to function:

  • A Kubernetes cluster, running Kubernetes 1.8.0 or later, that does not already have network load-balancing functionality.
  • One or more BGP capable routers that support 4-byte AS numbers (RFC 6793).
  • Some IPv4 addresses for MetalLB to hand out.

The requirements page goes into more detail.

You should also note that MetalLB is currently a young project, so you should treat it as an "alpha" product. The project maturity page explains what that implies.

Usage

Want to test-drive MetalLB? Follow the tutorial to set up a self-contained MetalLB in minikube.

Deploying to a real cluster? Familiarize yourself with the concepts and limitations, then head to the installation, configuration and usage guide.

Contributing

We welcome contributions in all forms. Please check out the contributing guide for more information, and the hacking guide for some technical pointers.

One lightweight way you can contribute is to tell us that you're using MetalLB, which will give us warm fuzzy feelings :).

Disclaimer

This is not an official Google project, it is just code that happens to be owned by Google.

metallb's People

Contributors

danderson avatar dvrkps avatar artasparks avatar miekg avatar

Watchers

Maximilien Richer avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.