Giter Site home page Giter Site logo

kubernetes-haproxy's Introduction

kubernetes-haproxy

Based on service-loadbalancer in kubernetes/contrib

This repo holds the Dockerfile, and the Kubernetes config for an HAProxy loadbalancer.

The goals are as follows:

  • A loadbalancer for bare metal Kubernetes clusters
  • Automatic population of an HAProxy config based on changes in the Kubernetes API
  • Allowing for dynamic templates, by moving the template to a volume

Build Notes

  1. This will only compile on a Linux-based system, due to a dependency on libcontainer.

  2. When you attempt to compile the Golang files, it will fail on a dependency for k8s.io/kubernetes/pkg/api.

    This is documented here: kubernetes/kubernetes#16361.

    The solution is to do the following:

    	cd $GOPATH/src/github.com/ugorji/go/codec/
     git checkout 8a2a3a8c488c3ebd98f422a965260278267a0551
    

    Which will pin that package to a version that works. Hopefully, it will be fixed and this will be unnecessary.

kubernetes-haproxy's People

Contributors

horizonxp avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

kubernetes-haproxy's Issues

Upstream the repo

I noticed this on the kubernetes slack channel and I decided to reach out, because I don't want it to be hard to maintain spin-off kubernetes components down the line. This is just my 2c.

It would be great if you could upstream this repo into /contrib. I'm willing to help clarify/take patches to support things that might not work right away. I think it will be worth your time because we're currently fleshing out the L7 api (Ingress), and when that's in, we'll just lift and shift the service loadbalancer as a Kubernetes cluster add-on, so your changes should continue to work.

Doing the work now when the 2 aren't very different is bound to be much easier than a month down the line when the service-loadbalancer has been moved, and the api revved.

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.