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

Build docker image suited for kubernetes installation #25

Open
Zalfsten opened this issue Jun 20, 2024 · 4 comments
Open

Build docker image suited for kubernetes installation #25

Zalfsten opened this issue Jun 20, 2024 · 4 comments

Comments

@Zalfsten
Copy link

Gitlab differentiates between docker and kubernetes installations. For the docker installation all services are packed into a single docker image, whereas the kubernetes installation uses one image per service.

The current DataHUB image is built on top of the many-in-one gitlab image for docker installations. We (as FAIRagro) would like to install DataHUB on kuberenetes, so we would highly appreciate a DataHUB image that is compatible with kubernetes installations. Maybe this could be a sidecar container that works with together with the official gitlab docker images.

@j-bauer
Copy link
Collaborator

j-bauer commented Jun 27, 2024

Creating a sidecar container with the required patches shouldn't be too much of an issue. We'll work on it but it will realistically take a week or two. I will keep you updated.

@j-bauer
Copy link
Collaborator

j-bauer commented Aug 27, 2024

After quite a long summer break for many of us, we are now looking into this again just as an fyi. Here a couple of thoughts:

Sidecar containers are supposed to run alongside the main app container. From the gitlab helm chart I guess we only need a sidecar container for the gitlab chart. We need to take into consideration that, as far as I've understood, the sidecar container needs to deal with rebuilds of the main container - so that might be a bit trickier to implement the patch in a reliable way. Sadly, we don't have a real k8s setup here to test with but I hope a minikube setup will be enough to test/develop. I will keep you updated.

@Zalfsten
Copy link
Author

Maybe we can support with our kubernetes cluster at ZALF. But it won't be possible to give you admin access.

@j-bauer
Copy link
Collaborator

j-bauer commented Aug 27, 2024

I wouldn't want it anyway ;-)

It's ok, we'll just setup a small cluster using Rancher. We already have experience with that so that shouldn't take too long.

I would contact you should we have some kubernetes-related questions/issues - you can probably help there.

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

No branches or pull requests

2 participants