Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kubernetes deployment support #6

Open
rugwirobaker opened this issue Oct 31, 2018 · 16 comments · May be fixed by #124
Open

kubernetes deployment support #6

rugwirobaker opened this issue Oct 31, 2018 · 16 comments · May be fixed by #124

Comments

@rugwirobaker
Copy link

I don't know your roadmap but supporting more deployment options would bring more people to the community. And the kubernetes community is one of the largest. Plus it would help integrate open-balena in the current kube stacks.

@dfunckt
Copy link
Member

dfunckt commented Oct 31, 2018

@rugwirobaker we do plan to support more deployment options and kubernetes is at the top of the list and, to the best of my knowledge, it will be coming before openBalena goes out of beta.

@austbot
Copy link

austbot commented Dec 20, 2018

@dfunckt So are there any technical limitations to this, or just someone needs to make a yaml?

@dfunckt
Copy link
Member

dfunckt commented Dec 21, 2018

I don’t think there are technical issues — an openBalena deployment can already be described with a docker-compose file, so I expect k8s support to be straightforward. We’ll be revamping the deployment workflow of openBalena in the coming weeks though, and k8s needs to fit into that, hence the delay.

@IonBazan
Copy link

IonBazan commented Jan 2, 2019

@dfunckt I am a bit worried about that because currently OpenBalena is using systemd and all the services are being run in privileged mode. K8s supports privileged containers, however it does not seem to be a good idea. Is it possible to run Open Balena without systemd, unprivileged?

@dfunckt
Copy link
Member

dfunckt commented Jan 9, 2019

@IonBazan we'll soon not require the services to run as privileged. Regarding systemd, I don't think we're currently willing to migrate away but might worth to reconsider. What issues do you have in mind with systemd and k8s?

@ArkeologeN
Copy link

@dfunckt it seems a couple of months since the thread started. Is there any update on this topic?

@dfunckt
Copy link
Member

dfunckt commented Sep 5, 2019

We're making progress but nothing concrete yet @ArkeologeN. We're working on a new tool to handle platform deployment which will support different targets, and k8s (as well as docker-compose) is one of them, but it's taking a while.

@Sharique-Hasan
Copy link

Sharique-Hasan commented Oct 8, 2019

@dfunckt I got enlightened about the progress on the deployment part via this thread. Since our whole infrastructure runs on k8 so we need this open-balena deployment to be in k8 as well.

We tried using kompose convert to convert docker-compose into k8 deployment files. Our ingress was able to redirect the traffic but looks like ingress is unable to locate upstream server for open-balena

Your help would be greatly appreciated

@rusenask
Copy link

should be a lot easier to write the k8s manifest yourself than use kompose convert :)

@Sharique-Hasan
Copy link

@rusenask I did try that too and the service didn't even come up online. With kompose the service even come up online.

@gercorri
Copy link

@dfunckt is there any more progress on the k8s deployment option?

@bartversluijs
Copy link
Contributor

I've been busy with creating a Kubernetes version of openBalena for the last week now, but with the current setup, it's (nearly) impossible. I've posted my progress on the forums, where I had some success, but some configurations (like VPN over 443) are as good as impossible to implement in Kubernetes using Ingress.

Any help would be appreciated from other Kubernetes developers. So feel free to contact me.

@mehdisadeghi
Copy link

@bartversluijs great effort, indeed. I was wondering whether it's possible to use WireGuard for tunneling in balena. It's much simpler.

@bartversluijs
Copy link
Contributor

Just to let everyone that's interested in this know, I've created a working version of open-balena on Kubernetes. I've posted this on the forum. It works without much effort, but it isn't 100% done yet.

And @mehdisadeghi, I'm not a Balena team member, so I don't know if that's possible at all. I'm not familiar with WireGuard. But because open-balena is open-source, you should try it for yourself!

@bartversluijs
Copy link
Contributor

As I'm finishing my Helm chart for Kubernetes for the newest release of openBalena, is there a way we can make this an official supported Kubernetes deployment option and merged into this repository?

Would be great to talk about an official release of it and discuss this with the openBalena maintainers!

I'll create a PR once it's finished and maybe this issue can then be closed.

@bartversluijs bartversluijs linked a pull request Jun 28, 2021 that will close this issue
@bdsoha
Copy link

bdsoha commented Sep 12, 2021

Any updates on this?

deanMike pushed a commit to machinemetrics/open-balena that referenced this issue May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.