Repository navigation
en.Installation Kubernetes
OpenCCU can be deployed on Kubernetes nodes with amd64 (x86_64) or arm64 (aarch64) architecture. This allows you to run OpenCCU together with other home automation components and to use Kubernetes features such as high availability. The deployment is performed via the openccu Helm chart.
- A Debian-based amd64 or arm64 host system (32-bit systems are no longer supported since OpenCCU 3.87.6.20260313).
- A supported radio module connected to the Kubernetes node on which OpenCCU is to run.
Note: There are official MicroK8s tutorials for other platforms. They have not been tested with OpenCCU. Experience reports and additions to this wiki are welcome.
- Ensure snapd is installed:
sudo apt install snapd
- Install MicroK8s:
sudo snap install microk8s --classic
- Enable the base add-ons:
sudo microk8s enable dns helm storage - Verify readiness:
sudo microk8s status
- Install the piVCCU kernel modules (required for radio modules such as
RPI-RF-MOD,HM-MOD-RPI-PCB,HmIP-RFUSBas well as theHB-RF-USB(-2)/HB-RF-ETHadapters; at least version 1.0.88):Compiling the modules requires the kernel headers of the running kernel (e.g.wget -qO - https://apt.pivccu.de/piVCCU/public.key | sudo gpg --dearmor -o /usr/share/keyrings/pivccu-archive-keyring.gpg sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/pivccu-archive-keyring.gpg] https://apt.pivccu.de/piVCCU stable main" >/etc/apt/sources.list.d/pivccu.list' sudo apt update sudo apt install build-essential bison flex libssl-dev sudo apt install pivccu-modules-dkms
linux-headers-rpi-v8on Raspberry Pi OS orlinux-headers-$(uname -r)on Debian/Ubuntu). - Ensure the
eq3_char_loopmodule is loaded on boot:echo eq3_char_loop | sudo tee /etc/modules-load.d/eq3_char_loop.conf
- Start/load the kernel modules now:
sudo service pivccu-dkms start sudo modprobe eq3_char_loop
- For GPIO radio modules and the
HmIP-RFUSB, the same additional steps (device tree overlays, udev rules) as for the Docker installation may be required.
-
Add the OpenCCU Helm repository:
sudo microk8s helm repo add openccu https://openccu.github.io/OpenCCU
-
Install OpenCCU
The chart is based on the bjw-s common library. Its persistence settings (see the storage documentation) define where the OpenCCU data is stored. Without persistence enabled, the data is lost on a restart (only suitable for testing).
Using a PersistentVolumeClaim (PVC):
sudo microk8s helm install openccu openccu/openccu \ --set persistence.data.enabled=trueOr using a hostPath on the node:
sudo microk8s helm install openccu openccu/openccu \ --set persistence.data.enabled=true \ --set persistence.data.type=hostPath \ --set persistence.data.hostPath=<persistent data directory> -
If the deployment succeeds, Helm prints NOTES with instructions on how to access the WebUI. Afterwards, the first steps after installation help with the further setup.
-
Further options are described for the chart on Artifact Hub: https://artifacthub.io/packages/helm/openccu/openccu
Updates are performed via Helm:
sudo microk8s helm repo update
sudo microk8s helm upgrade openccu openccu/openccu --reuse-valuessudo microk8s helm uninstall openccuA created PersistentVolumeClaim or the hostPath directory with the OpenCCU data is preserved and must be removed manually if desired.
Inhalt · Contents OpenCCU Documentation © 2015-2026 Jens Maus and OpenCCU Contributors, licensed under CC BY-SA License 4.0