The BEST Way to Run Home Assistant in a K3s Cluster (PVC, Deployment, Ingress)

Published at : 23 Dec 2025

How to install Home Assistant in K3s using Traefik Ingress Contoller or ServiceLB

Running on my Raspberry Pi 5 homeserver.
More information on my minimalistic and cheap setup can be found here:
https://youtu.be/FjdTAAbxBaE

Link to the video about cert-manager:
https://youtu.be/fectktQlMZc

My GitHub, where you can find the YAML files:
https://github.com/oskariheino/raspberrypi

In this video, we will:
✔ Install Home Assistant with Kubernetes YAML files
✔ Make sure that Home Assistant configurations persist pod restarts
✔ Walkthrough exposing Home Assistant with both Ingress & LoadBalancer, respectively
✔ Utilize LoadBalancer & ClusterIP services
✔ Utilize nip.io DNS names to avoid editing /etc/hosts

0:00 – Intro & Installation Plan
1:24 – Creating the PersistentVolumeClaim
2:05 – Deploying Home Assistant in K3s
2:50 – Exposing Home Assistant with a LoadBalancer
4:40 – Checking That HASS Persists Pod Restart
5:40 – Switching to a ClusterIP Service + Ingress
9:00 – Fixing Home Assistant Error 400: Bad Request
10:50 – Accessing Home Assistant Exposed With ClusterIP + Ingress
11:30 – Explaining local-path PV Provisioner
12:20 – Outro & Final Words

#homeassistant #k3s #kubernetes #homelab #selfhosting #homeserver #devops #cloudnative #nginx #traefik #homeautomation #raspberrypi #cncf