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 and Che #1193

Closed
ukman opened this issue May 5, 2016 · 20 comments
Closed

Kubernetes and Che #1193

ukman opened this issue May 5, 2016 · 20 comments
Labels
kind/question Questions that haven't been identified as being feature requests or bugs.

Comments

@ukman
Copy link

ukman commented May 5, 2016

Is it possible to work with containers that work under kubernetes?

We want to use Google Cloud Container Engine so it uses kubernetes to access to containers (not Docker API).

Thanks

@garagatyi
Copy link

Hi. Right now kubernetes integration is not implemented.
But you can contribute such an integration to Che. We are open for different kinds of extension.
See the example of docker integration implementation https://github.com/eclipse/che/tree/master/plugins/plugin-docker/che-plugin-docker-machine

@ddementieva ddementieva added the kind/enhancement A feature request - must adhere to the feature request template. label Jun 3, 2016
@wernight
Copy link

I'd suggest to use Docker for development and deploy on Kubernetes. The reason is that it allows reload (or even auto-reload) on file change which is only possible else if you're running Kubernetes on the same machine as the one you're coding or somehow mounting the volume with your source code.

@advoretsky
Copy link

If you work on a module that is part of complex assemble of microservices with lot of interconnections, you'd better to run app in kubernets cluster, not to emulate environment for it on local host and/or bare docker.

@TylerJewell
Copy link

We will be working to improve workspaces so that you can submit recipes that are dockerfiles, compose files, or other topological definitions. By having support for a variety of topology definitions for multi-container constructs, we'll allow users to use their definitions in Che, and then they can push them out to other systems like Kubernetes.

@TylerJewell
Copy link

#1829 - crosslinking this issue, which is our vendor API that is under development that will allow for different orchestrators to be implemented under Che.

@gorkem
Copy link
Contributor

gorkem commented Mar 30, 2017

This should be linked to #2847

@wernight
Copy link

wernight commented Mar 30, 2017

I have it working under Kubernetes pretty decently https://github.com/wernight/kubernetes-che/

My only issue is that SPDY seems to disconnect WebSockets when not used for a while.
I think Che could ping to keep it alive, but another improvement would be to use another proxy, like nghttpx with Apache Traffic Server. The issue is that the later is pretty difficult to set up authentication while keeping any port pointing to Che.

@gorkem
Copy link
Contributor

gorkem commented Mar 30, 2017

@wernight you may also try the openshift branch which works with k8s/openshift APIs. We are yet to try it for k8s instances other than openshift but eventually we will get there.

@garagatyi
Copy link

@wernight

Long lived HTTP requests like the terminal, or possibly other parts, seem to disconnect after a while if there was no I/O.

Is already fixed :)

@wernight
Copy link

@gorkem How does it differ from the master branch? Actually the only real issue for having it work on Kubernetes is the issue with the so many ports

@wernight
Copy link

@garagatyi Wow nice! In which release? I'm using 5.0.0-M6 which seems to be the latest but it's 5 months old.

@gorkem
Copy link
Contributor

gorkem commented Mar 30, 2017

@wernight yes, openshift had the same issue see 908a6e1. Also docker port is a privileged port so the branch reimplements all calls to docker with k8s ones.

@garagatyi
Copy link

@wernight in 5.6.0. Released today.
5.0.0-M6 is quite old now.

@wernight
Copy link

@garagatyi I'll be watching https://hub.docker.com/r/codenvy/che-server/tags/ for this one.

@gorkem I see part of single port, but I don't see how that might work "magically" with k8s without actually fixing #1560. If there is a dockerized version I may try it if I find issues with 5.6.0 (as I said 5.0.0 is working on Kubernetes).

@wernight
Copy link

@garagatyi It looks like codenvy/che and codenvy/che-server are not maintained anymore, but their README hasn't been updated on Docker Hub. I see 5.6.0 on codenvy/init, so I'll look into upgrading if possible.

@garagatyi
Copy link

@wernight eclipse che now uses new images, take a look at https://www.eclipse.org/che/docs/setup/getting-started/index.html

@benoitf
Copy link
Contributor

benoitf commented Mar 30, 2017

@wernight images of che are now on eclipse dockerhub organization ( eclipse/che and eclipse/che-server and eclipse/che-init)

@jlewi
Copy link

jlewi commented Nov 14, 2017

@wernight @slemeur any update on eclipse-che on Kubernetes? I see docs for openshift. Does this imply it ought to work on Kubernetes?

@skabashnyuk
Copy link
Contributor

Officially no, you can track progress here #5908

@skabashnyuk skabashnyuk added kind/question Questions that haven't been identified as being feature requests or bugs. and removed kind/enhancement A feature request - must adhere to the feature request template. labels Nov 14, 2017
@ghost
Copy link

ghost commented Jan 4, 2018

I am going to close this one. Everyone is welcome to track #5908

@ghost ghost closed this as completed Jan 4, 2018
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Questions that haven't been identified as being feature requests or bugs.
Projects
None yet
Development

No branches or pull requests

10 participants