Build a minimal highly available (HA) Kubernetes cluster with zero effort in less than 10 minutes in Hetzner Cloud aka hcloud with Terraform >= 1.5, Ansible and MicroK8s for development.
New in 1.19, high availability is automatically enabled on MicroK8s for clusters with three or more nodes.
Learn more: https://microk8s.io/docs/high-availability
hcloud WebUI -> Create new project -> Enter new project -> Access -> Add API Token
local$ git clone https://github.com/z3dm4n/k8s-dev-cluster-hcloud.git k8s-dev-cluster-hcloud
local$ cd k8s-dev-cluster-hcloud
local$ git checkout master
local$ cp terraform/terraform.tfvars.example terraform/terraform.tfvars
local$ # change hcloud_token in terraform/terraform.tfvarslocal$ make ssh-keylocal$ makelocal$ make demo
local$ cd terraform; echo "$(terraform output -raw loadbalancer-ip) www.gitea.local"
local$ # add above command output to /etc/hostsNow browse to http://www.gitea.local and log in with user gitea_admin and password gitea_admin.
You just installed Gitea to your new MicroK8s HA cluster in less than 10 minutes.
local$ make clean