Hacker News new | ask | show | jobs
by dijit 3266 days ago
Related: Anyone got a guide for deploying kubernetes on hardware I would have at home? a full cluster, not minikube.
10 comments

Kubeadm (https://kubernetes.io/docs/setup/independent/create-cluster-...) is great if you can install the base OS yourself (manually or through existing scripting you might have). The great thing is that you end up with a fully secured cluster, which (unfortunately) isn't the case with every tool or guide out there.
I just used this official guide from CoreOS to set it up on Vagrant/virtualbox: https://coreos.com/kubernetes/docs/latest/kubernetes-on-vagr.... It was pretty straightforward.
You might enjoy this guide[1]. It explains how to deploy and run a secure, fully functional Kubernetes cluster outside platforms like GCE or AWS. Provisioning and example manifests are provided as well.

[1] https://github.com/hobby-kube/guide

kubeadm makes installing Kubernetes on existing computers vastly easier than it used to be (which isn’t to say it is easy now, just easier). https://kubernetes.io/docs/setup/independent/create-cluster-...
I use this for a "full cluster"

https://github.com/pires/kubernetes-vagrant-coreos-cluster

If you want bare metal, there's a few good ways to roll your own.

Yes - this has been doing fairly well and uses kubeadm on Ubuntu - https://blog.alexellis.io/kubernetes-in-10-minutes/
I used to also recommend kubeadm, but then I recognized there is no HA whatsoever (and what's the point of a cluster that dies with the master?)

Issue to track: https://github.com/kubernetes/kubeadm/issues/261 and https://github.com/kubernetes/kubernetes/pull/44793

Have heard good things about Kubespray: https://github.com/kubernetes-incubator/kubespray
If you're familiar with ansible, it'll be quite easy to setup a k8s cluster on bare metal with kubespray. What's more is that it deploys production ready cluster with HA support
I'm looking for similar, but want to run containers on bare metal, not inside virtual box or similar.
I used kubeadm to set up a small cluster on Online.net’s cheap dedicated machines. It works quite well.