Jack Moore

Email: jack(at)jmoore53.com
Project Updates

Highly Available Kubernetes Cluster

30 Dec 2020 » system configuration, cloudinit, homelab, networking, cluster, kubernetes

Highly Available Kubernetes Cluster Across two physical nodes using two control-planes (1/physical node) and many workers.

Heartbeat & VRRP for LoadBalancing

Going with HAProxy supported from PFSense.

The HA Config isn’t bad.

Set the Frontend wiht SSL/HTTPS and then configure both backends; Be sure to use whatever port you use for k8s - for me it was just the default at 6443

Kubernetes Gotchas

Sometimes kubectl won’t read or understand where to go as an api endpoint… It tried for the longest point to hit localhost:8080 - I had to configure it for 10.0.0.30:6443 using the initial config:

mkdir -p $HOME/.kube
sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
sudo chown $(id -u):$(id -g) $HOME/.kube/config
© Jack Moore