-
Notifications
You must be signed in to change notification settings - Fork 59
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
Helm Chart / Kubernetes Configs #86
Comments
Anybody working on kubernetes deployment files? |
Hey @rasos, Last year was.. rough. I wasn't able to give this the attention that I wanted to. After a few months my priorities changed and I moved my attention to other projects. |
@jakehamilton without actually doing it and in order to give a potential path for Hubs-Foundation/hubs-cloud#135 could you please describe what would be necessary to support other cloud services using any tool? |
Hey @Utopiah, I think the best way to manage this would be with Helm. We can create a Chart that would allow others to simply run Each service in the stack would need to be built in a Docker (OCI) image in order for us to deploy them onto a Kubernetes cluster. Once the individual images are built, it is a matter of creating the standard Kubernetes configs to deploy (Deployment), persist storage (PersistentVolumeClaim), expose internally (Service), and expose externally (Ingress). Initially, it should be fine to just worry about one instance of each service when deploying. Though, it might be worth considering how to scale the application using something like a StatefulSet. One other thing to note is how to handle database migrations. For a single instance, using an initContainer in the Deployment may suffice. I still have some trouble understanding the architecture of the Hubs stack, so I'm not entirely sure which services there are and what needs to be deployed. If someone wants to start with a very simple example using |
Here is a rough view of what is running on a single Digital Ocean server including the database :
Unfortunately I know nothing about Helm or k8s except that I should know about them ;) I'm starting to get the hand of |
Any updates on this folks ? I'm starting to design some Hubs implementations, and being able to run it in k8s would be awesome. |
Going to leave this here for future googlers https://github.com/hubs-community/mozilla-hubs-ce-chart |
To support deployment under other cloud services, we can provide a Helm chart (or alternative) for installation into Kubernetes clusters.
I plan to look into the existing infrastructure here and pull out what I can, but someone more familiar with the project could make progress more quickly.
The text was updated successfully, but these errors were encountered: