5 ms·
i set up a kubernetes cluster 1 year ago at work and a private one last weekend. last year took, i think 2 days. my private one was up and running within ~1h,
by y4mi 8y ago
i set up a kubernetes cluster 1 year ago at work and a private one last weekend.
last year took, i think 2 days. my private one was up and running within ~1h, including writing the ansible role to first install binaries/dependencies and join the cluster as a worker node.
either you didn't use kubeadm to set it up or ... i have no idea how you could've possibly failed.
its pretty much
(all) ${packagemanager} install docker-ce kubectl kubelet kubeadm
(master) kubeadm init -> prints token
(node) kubeadm join ${token}
- colonelpopcorn 8y agoJeff Geerling even wrote an Ansible role to do all of the heavy lifting for you. I've used it alongside vagrant to spin up a three node cluster in ~15 minutes. https://github.com/geerlingguy/ansible-role-kubernetes https://github.com/geerlingguy/ansible-role-kubernetes
- mcguire 8y agoI've used OpenStack a good bit, but not Kubernetes directly, and I have never set it up. Is there an up-to-date, in-depth tutorial around?
- geggam 8y agohttps://github.com/kelseyhightower/kubernetes-the-hard-way https://github.com/kelseyhightower/kubernetes-the-hard-way https://github.com/kubernetes/kops https://github.com/kubernetes/kops Be aware of this bug at scale ... its interesting https://blog.quentin-machu.fr/2018/06/24/5-15s-dns-lookups-on-kubernetes/ https://blog.quentin-machu.fr/2018/06/24/5-15s-dns-lookups-o...
- jkmcf 8y agoHe's written so many useful and maintained ansible roles.
- crdoconnor 8y agoI didn't fail, I just couldn't see a strong ROI after doing a spike. I did use kubeadm. It required considerably more than just 3 simple steps required to get a basic working cluster up. Two days was more like it.
- zinclozenge 8y agoManaging kubernetes yourself is a headache and why I more or less only consider managed services like Google Kubernetes Engine for real use-cases. That's why the original article showing that you could install and run it on a set of 3 micro preemptible instances for ~5 month was so compelling to me.
- codegladiator 8y agohttps://github.com/kubernetes/kops https://github.com/kubernetes/kops
- cdelsolar 8y agohow does kubeadm take two days. I had to rebuild my cluster recently and it literally took me 20 minutes.
- y4mi 8y agoI didn't use it last time. It was marketed as beta iirc