cvb941 / HAHA

Highly Available Home Assistant - a solution for running a redundant installation of Home Assistant
302 stars 30 forks source link

Kubernetes support #2

Open akram opened 4 years ago

akram commented 4 years ago

Hi, and thank you for this great work. it could be simple to convert the compose file into Kubernetes blueprints (using the compose project).

Do you see any limitations in making this work on Kubernetes?

cvb941 commented 4 years ago

Hello and sorry for late answer,

I haven't taken a deep look into Kubernetes yet, but my understanding is that it should be more powerful than swarm, so I don't see why it couldn't be done.

If anybody manages to accomplish this, I'd be happy to accept it, though I personally don't have 3 Raspberries to test it on anymore :)

akram commented 4 years ago

actually, there is no need to have 3 rpi to test it. And having a second thought, it would be preferable to run k3s which is a lightweight version of k8s but still accepting the same format for images and blueprints https://k3s.io/

After a month trying hassio, the painpoint I see are more related to the use of supervisord which at the end acts as a scheduler (like kubernetes) . Is there a way to separate its scheduling part from the other features?

ammmze commented 4 years ago

At some point hopefully hass.io supervisor will be updated to support scheduling containers via kube manifests and swarm manifests. Currently this project is probably only useful if you're running standalone home assistant...without hass.io.