Home Assistant on Kubernetes Link to heading

Intro Link to heading

Supervisor integration allows you to monitor and control Supervisor add-ons and operating system from Home Assistant. This was the method i was using for years, but for a new job a have to work with Kubernetes and get a certification (CKA). I needed a usecase for Kubernetes so it came to mind to run Home Assistant on Kubernetes.

Challenges Link to heading

  1. Pods can land on different nodes so how can one connect to the USB devices?
  2. Where can the data be stored?
  3. How can Home Assistant be reached since we don’t know on which node the pods will be deployed
  4. Addons can not be used since Home Assistant is running in a Docker container

Solutions Link to heading

  1. Running Zigbee@MQTT and P1Monitor on a Raspberry Pi
  2. Use a NFS share on a Synology NAS
  3. In Kubernetes, a Service is a method for exposing a network application that is running as a Pods in a cluster.
  4. Put the wanted addon in the Home Assistant pod

Walktrough Link to heading

1. Link to heading

2. Link to heading

3. Link to heading

4. Link to heading

5. Link to heading

Cheers!