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

Feature Request: Support Kubernetes #1337

Closed
ngryman opened this issue Mar 22, 2020 · 11 comments
Closed

Feature Request: Support Kubernetes #1337

ngryman opened this issue Mar 22, 2020 · 11 comments
Assignees
Labels
feature: workspace image build meta: stale This issue/PR is stale and will be closed soon type: feature request New feature or request

Comments

@ngryman
Copy link

ngryman commented Mar 22, 2020

Hey there, first of all, great work with Gitpod 👏

I would be very interested in migrating our local environment to Gitpod. However, our product needs several containers to run in development mode.

So I would have 2 questions:

  1. Do you plan to support k8s or any orchestration tool (ie. Docker Compose) in the future?
  2. Meanwhile, what do you think about using DinD and Kubernetes IN Docker: https://github.com/kubernetes-sigs/kind? I didn't dive in it yet, but at first glance, it would be possible to run a cluster in a Docker image.
@ngryman ngryman changed the title Support Kubernetes Feature Request: Support Kubernetes Mar 22, 2020
@JesterOrNot
Copy link
Contributor

Hello, @ngryman, and welcome to the Gitpod community! 🎉 @svenefftinge Correct me if I'm wrong, but I think we have plans to support it in the future. However, right now it would require root or root-like permissions, which as of now we don't allow, please, see the following issues for information: #52 #39

@svenefftinge
Copy link
Member

Yes, we are working towards allowing DinD. For the time being here's how we develop kubernetes applications (i.e. Gitpod itself) using Gitpod.
https://www.freecodecamp.org/news/developing-kubernetes-applications-with-joy/

@stale
Copy link

stale bot commented Oct 4, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Oct 4, 2020
@jankeromnes
Copy link
Contributor

FYI, we're doing a YouTube livestream about root/docker in Gitpod workspaces in about ~2.5 hours: https://www.youtube.com/watch?v=l4I2TVAnBuw

@davemecha
Copy link

Hi everybody,

I'm searching for a way for knative development & testing with GitPod in the new Docker preview but was not able to get a local kubernetes environment running. I checked out minikube, k3s and kind but I was not able to get any of them running.

Yes, we are working towards allowing DinD. For the time being here's how we develop kubernetes applications (i.e. Gitpod itself) using Gitpod.
https://www.freecodecamp.org/news/developing-kubernetes-applications-with-joy/

The https://www.telepresence.io/ option seems not to work with knative since the networking seems to conflict (there's an open ticket in the telepresence repo). Beside this, it's not always a good option because one has to run a Kubernetes cluster somewhere else, what may be cost intensive.

demo

I created a demo repo so anybody could try the issues for themselves. https://github.com/davemecha/knative-minikube-test - Just fire up a GitPod from there and execute the stuff as mentioned in the readme.

I also watched the youtube session about Docker in GitPod but this was pretty heavy stuff for me. When I understood this correctly than there might be a similar solution for running Kubernetes inside cloud GitPod as was applied to run Docker alone. At least for the cgroup issues with minikube with Docker driver.

logs

I posted my test-results (with some logs) in the GitPod community but maybe this github issue is a more appropriate place for discussing this case.

Thanks for help and comments. 🙏


Best issue number. 💚 😍

@stale
Copy link

stale bot commented May 23, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label May 23, 2021
@Baneeishaque
Copy link

Please don't stale.

@stale stale bot removed the meta: stale This issue/PR is stale and will be closed soon label May 23, 2021
@stale
Copy link

stale bot commented Aug 21, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Aug 21, 2021
@stale stale bot closed this as completed Aug 31, 2021
@hferentschik
Copy link

Is there any progress on this?

@davemecha
Copy link

There is a new issue about this. #4889

@loujaybee
Copy link
Member

Hey folks, just coming back to this for others who are googling, we recently published a new docs page:

https://www.gitpod.io/docs/integrations/kubernetes

This page covers common use cases and ways to develop Kubernetes applications in Gitpod:

Please do check it out, and let us know if you have any questions 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: workspace image build meta: stale This issue/PR is stale and will be closed soon type: feature request New feature or request
Projects
None yet
Development

No branches or pull requests

10 participants