OpenHAB on MircoK8S


Running OpenHAB on MicroK8S

OpenHAB service deployment

Using hostNetwork, therefore no service necessary, scalability not given but I guess not suitable for OpenHAB anyway.

(seams to be possible also on bridged network: https://community.openhab.org/t/solved-docker-compose-without-network-mode-host/87665/2)

spec:
  hostNetwork: true

Mosquitto

Docker hub image

Homegear bridge

Kubernetes does not support providing general “devices” to node hosts as docker do. So --device=/dev/ttyUSB0 will not work :-(. Need to use raspy to provide the bridge?

Ingress configuration

Documentation for basic auth Documentation for debugging ingress

Letsencrypt

Documentation

Generate htpasswd file without Apache

echo "USER:$(openssl passwd -apr1 PASSWORD)" >> auth

TODO