Running kubernetes on a raspberry pi can be a little tricky. There are some many moving parts that the easiest way to do it, it is using one of the multiple installation methods for that but… what’s the fun of that?
I just wanted to get my hands dirty and know all the internals and craft a kubernetes cluster all by myself. So that is why I started the project ansible-k8s on GitHub [https://github.com/GheRivero/ansible-k8s] It does not pretend to be a production-ready deployment, but just an easy starting point to have a kubernetes cluster you can play with.
At this moment, there are a couple of missing parts, like better documentation (or documentation at all), install the dashboard… but it is more than enough to follow the playbooks and understand how all the pieces are arranged together.
On the plus side of this adventure, I just got my first patch approved [ https://github.com/kubernetes/contrib/pull/2202 ] into the kubernetes project, and it is not going to be the last.