Skip to content

luko0610/homelab-microk8s-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homelab-microk8s-setup

This repo will contain all configuration files for my home kubernetes lab consisting of 3 Lenovo M910 tiny pcs's with i5 and 16GB of RAM each. All three machines are running Ubuntu Server 22.04 at the moment, for kubernetes I decided to use microk8s.

Might in the future reinstall with ODK as I am used to the fancy OpenShift web interface. The regular kubernetes dashboard doesn't really convince me.

Network setup

Kubernetes home lab is in a separate subnet behind a mikrotik router. Fritzbox is configured to port forward port 443 and 80 to the cluster accordingly. Port 80 is required to be open for letsencrypt issueing with http01 challenge.

Roadmap (outstanding work)

letsencrypt

For now, as letsencrypt issueing uses http-01 challenge we cannot request a wildcard certificate, meaning subdomains routed with traefik cannot use the letsencrypt certificate. Therefore the goal is to switch to dns-01 challenge long term. Need to have properly setup a custom DNS Server for the domain for this though.

https://microk8s.io/docs/addon-cert-manager

Configure BGP with metallb

I am not quite sure, if it is even possibly get microk8s working with metallb BGP setup as it uses Calico. Calico has known limitations and does not provide extension points for metallb and Calico to properly coexist.

Further information here: https://metallb.universe.tf/configuration/calico/

Warning

This is a work in progress and not guaranteed to be complete, nor work.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published