-
Notifications
You must be signed in to change notification settings - Fork 38
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
Running on Kubernetes #2
Comments
Kompose might be helpful here |
Please assign this to me if this is a good feature to implement. |
This would be ideal for us (need to deploy on a cluster running services behind a firewall which we can't access from a deployment outside). I did try to use Compose (which I have used for similar in the past), but it did not work out of the box, so probably a more bespoke approach is needed. A Helm chart would be great, but at least a set of yamls for k8s/openshift deployment would be good. |
We should provide a helm chart with all the external dependencies optional so that you can swap them out in the cloud. Bitnami charts are a good starting point. @akihikokuroda are you still up for it? |
Yes, I am. There are multiple options for Kubernetes deployment. A set of vanilla Kubernetes yaml files, Kustomize, helm and Kubernetes operator. Is the helm our choice? Does anyone have any preference? |
If we use helm, we can put core bee services into the main chart and other dependencies as the subchart. So that we can replace the dependency components easily. |
Agree Helm would give the flexibility (through sub charts) to easily swap the dependencies. It also allows for easy substitution of configuration options through a config values file. |
++ agree. I also find compose awkard, and it can get difficult to keep as configurations get more complex. Though there are many people who still prefer it, especially if they don't have k8s skills. In a previous project (part of which which involved a tutorial/getting started environment ie their first experience with the stack) I moved compose->k8s (helm) for all the above reasons, but there was then a constant stream of k8s questions & issues - usually dealing with the differences between various k8s setups (just as we have docker vs podman with compose), and their lack of skills. Sometimes these got a little tricky My preference would probably be for a helm chart as it's an easier 'packaging'. However, it's not so good at >day0 ops. So if any reconfiguration/control is needed an operator would be even better, but that's typically a lot more work - including in the design of the custom resources to model . I'd therefore be inclined to leave that for a future option. Happy to help out with any k8s setup/testing as needed. We should have something that works in a typical 'desktop' environment (KinD / podman desktop (minikube?) / rancher desktop etc) as well a cloud (int or ext) - perhaps openshift sufficient. Just mentioning as permissions (ids/root), resources etc typically cause pain... |
I'm making a very primitive helm chart now. I'll make a [WIP] PR in a day or two. |
WIP PR: #14 |
Hey, I'm looking at the PR and it's a good start, thanks @akihikokuroda! We'd like to align it with the kubernetes configuration we use for deployment so that we have a single unified way how to deploy the application :) This means:
Since this requires specific knowledge from the existing internal deployments and application internals, I'll take over the PR and make the necessary changes. It might take some time, so in the meantime we'll be maintaining the docker-compose version of the stack. |
@jezekra1 Would you make this issue an epic/story and create issues for each item? So the others can contribute some pieces? |
Sure! I created the epic here: |
closing this as duplicate of #27 |
Description:
For the user who has experiences with kubernetes, it's much easier to deal with kubernetes than the docker compose.
Kubernetes is much better than docker compose for the users who want to run their own instance of the stack.
Desired solution
Provide necessary manifest files for kubernetes cluster and provide detail instructions for some recommended kubernetes environments.
The text was updated successfully, but these errors were encountered: