k3s on Raspberry Pi: Introduction
Background
I’m taking a few days to play with Kubernetes. Since I have a stack of Raspberry Pi 2s otherwise doing nothing, I decided to use them. I started with Scott Hanselman’s How to Build a Kubernetes Cluster with ARM Raspberry Pi then run .NET Core on OpenFaas blog post.
I’m not going to bother with the .NET Core / OpenFaas stuff yet, but here’s how I got on.
- Introduction (this post; )
- Hardware ()
- Installing Raspbian ()
- Installing k3s ()
- Installing nginx ()
- Private Docker ()
- node.js Server ()
- Phoenix Server ()
- Rebuilding with Pi 4 ()
- SchedulingDisabled ()
- iSCSI ()
- Private Docker Registry ()
- Using an Insecure Docker Registry ()
- Persistent Storage using hostPath ()
- Dynamic Persistent Volumes ()
- Static Persistent Volumes ()
- NodePort Services ()
- Docker push fails ()
- Persistent Volume Namespaces ()
- Upgrading RaspiOS to arm64 ()
- Installing Ubuntu on Raspberry Pi ()
- Installing k3s on Ubuntu on Raspberry Pi ()
- Installing Helm ()
- Installing MetalLB ()
- Disabling Klipper ()
- Installing Longhorn ()
- Docker Registry Redux ()
- Using CoreDNS for LoadBalancer addresses ()
- NodePort with multiple replicas ()
- Upgrading k3s ()
- Custom CoreDNS Runbook ()
- Installing Gitea ()
- Traefik Ingress ()
- Securing an Ingress with TLS ()
- Installing ArgoCD ()
- arm64 support ()
- Securing Gitea with HTTPS ()
- (Not) Upgrading ArgoCD ()
- Installing cert-manager ()
- Elixir Livebook on k3s ()
- Pod DNS Problems ()
- CoreDNS Customization ()
- Livebook as K8s Cluster Admin ()
- Ubuntu 22.04 ()
- Kustomize and nginx ()
- ArgoCD CLI ()
- Installing Grafana ()
- VictoriaMetrics ()
- VMStaticScraper ()
Links
- https://www.hanselman.com/blog/HowToBuildAKubernetesClusterWithARMRaspberryPiThenRunNETCoreOnOpenFaas.aspx
- https://github.com/teamserverless/k8s-on-raspbian
- https://collabnix.com/get-started-with-k3s-a-lightweight-kubernetes-distribution-for-raspberry-pi-cluster/
- http://dockerlabs.collabnix.com/beginners/install/raspberrypi3/setting-up-k3s-cluster.html
- https://rancher.com/docs/k3s/latest/en/
- https://blog.alexellis.io/raspberry-pi-homelab-with-k3sup/
- https://blog.alexellis.io/test-drive-k3s-on-raspberry-pi/