Kubernetes charm for installing openhab v3.0.2
.
open Home Automation Bus is an open source home automation software. It is deployed on premises and connects to devices and services from different vendors. This charm deploys OpenHab on a Kubernetes cluster.
Deply the charm with:
juju deploy openhab --channel=edge
The charm exposes the OpenHAB https interface on NodePort 31443
this means you can point your browser to the IP
of any of you Kubernetes nodes on port 31443
to start interacting with OpenHAB. If you are doing a local deployment
with MicroK8s just navigate to https://127.0.0.1:31443.
Create and activate a virtualenv with the development requirements:
virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements-dev.txt
The Python operator framework includes a very nice harness for testing
operator behaviour without full deployment. Just run_tests
:
./run_tests