Hetzner fresh Ubuntu (18.04 LTS) install to single node Kubernetes cluster with ansible

I install Kubernetes on yet another linux distribution, this time Ubuntu 18.04 LTS, using ansible to make it happen

vados

30 minute read

tl;dr - I installed Kubernetes on Ubuntu 18.04 LTS via Ansible (kubeadm under the covers) on a Hetzner dedicated server. Before doing so, I debugged/tested the playbook in a local VirtualBox VM with a fresh Ubuntu install before attempting on the dedicated hardware. There’s a gitlab repo (ansible-hetzner-ubuntu-1804-k8s-setup) that contains a copy-paste job of the finished work – the idea is that you should be able to run that playbook and go from a fresh Hetzner dedicated Ubuntu…