-
-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Evaluate simpler kubeadm deploy #44
Comments
Hi @plunder-app @thebsdbox, first of all, great job so far! I have 3 general questions:
Thanks in advance! |
Hello @ThomasLohmann,
|
Potentially, a consumer of kube-vip may not execute |
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 processWith Docker
Without Docker Init Kubernetes Cluster
Join ProcessJoin Kubernetes Cluster
With Docker
Without Docker
|
This has been merged and documentation has been updated (#46 ) |
There are a number of deployment options for using a vip with
kubeadm
all of them have numerous pros/cons:1. Standalone VIP pre-
kubeadm
This is a "one-shot" approach where a vip is created and applied prior to running a
kubeadm init
, this will attach the IP to the initial host allowingkubeadm
to communicate with the newly deployed api-server through the address. Once completed then this vip would need removing and restarting within the cluster itself (perhaps as a daemonset).This could be automated in the following fashion:
kube-vip
is started and is passed the command line to runkubeadm
kube-vip
then runs thekubeadm init
and waits for its completionexec.Command()
kube-vip
upon completion of the init stops the vip and starts it within the kubernetes cluster2. Static pods (how it is done today)
In this approach the vip is ran outside of the cluster, through the use of static pods that are managed by the
kubelet
and not the kubernetes cluster itself.This is automated in the following fashion:
kube-vip
generates a manifest in/etc/kubelet/manifests
kubeadm init
starts all pods from manifests (includingkube-vip
)kubeadm join
followed bykube-vip join
will add nodes through the vip and will add them as members of the vip clustercc @yastij / @ncdc / @randomvariable (any thoughts)
The text was updated successfully, but these errors were encountered: