Giter Site home page Giter Site logo

Comments (5)

ThomasLohmann avatar ThomasLohmann commented on May 24, 2024

Hi @plunder-app @thebsdbox, first of all, great job so far!

I have 3 general questions:

  1. Is Kube-vip production-ready? I couldn't find any information about that

  2. Does Kube-vip work with Kubespray (uses kubeadm) in the HA mode? If not, it would be great if we can find a way to integrate Kube-vip into Kubespray. Please, see the following link: https://kubespray.io/#/docs/ha-mode

  3. Does Kube-vip has any disadvantages compared to traditional approaches like envoy + keepalived from the load balancer perspective?

Thanks in advance!

from kube-vip.

thebsdbox avatar thebsdbox commented on May 24, 2024

Hello @ThomasLohmann,

  1. Hard to answer really, It does what it says on the tin but more "production-ready" functionality could be added (monitoring or advanced logging etc..). Best option is to test it out and give feedback.

  2. Not at this time, there is documentation for using it with kubeadm -> https://github.com/kubernetes/kubeadm/blob/master/docs/ha-considerations.md#kube-vip but I presume additional work would be required in order to have it automated.

  3. Kube-vip was written in order to simplify the process of having multiple tooling and multiple configurations required just to provide load balancing capabilities to the control plane. So the hope is that it only has advantages :)

from kube-vip.

randomvariable avatar randomvariable commented on May 24, 2024

Potentially, a consumer of kube-vip may not execute kubeadm init and instead use phases. Ultimately, I guess you could check the /readyz status of API server and kubelet, and then you're partially agnostic of using kubeadm or not.

from kube-vip.

thebsdbox avatar thebsdbox commented on May 24, 2024

I’ve modified kube-vip to “mirror” kubeadm join|init commands, which should make the usage a lot cleaner. I guess it will be in the 0.1.5 version once I’ve tidied things up a little bit, although it’s relatively stable at the moment (my demo is working)

Init process

With Docker

sudo docker run --network host --rm plndr/kube-vip:0.1.5 kubeadm init --interface ens192 --vip 192.168.0.81 --startAsLeader=true | sudo tee /etc/kubernetes/manifests/vip.yaml

Without Docker
sudo ./kube-vip kubeadm init --interface ens192 --vip 192.168.0.81 --startAsLeader=true | sudo tee /etc/kubernetes/manifests/vip.yaml

Init Kubernetes Cluster

sudo kubeadm init --kubernetes-version 1.17.0 --control-plane-endpoint 192.168.0.81 --upload-certs

Join Process

Join Kubernetes Cluster

sudo kubeadm join 192.168.0.81:6443 --token w5atsr.blahblahblah --control-plane --certificate-key abc123

With Docker

sudo docker run -v /etc/kubernetes/admin.conf:/etc/kubernetes/admin.conf --network host --rm plndr/kube-vip:0.1.5 kubeadm join --interface ens192 --vip 192.168.0.81 --startAsLeader=false | sudo tee /etc/kubernetes/manifests/vip.yaml

Without Docker

sudo ./kube-vip kubeadm join --interface ens192 --vip 192.168.0.81 --startAsLeader=false | sudo tee /etc/kubernetes/manifests/vip.yaml

from kube-vip.

thebsdbox avatar thebsdbox commented on May 24, 2024

This has been merged and documentation has been updated (#46 )

from kube-vip.

Related Issues (20)

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.