Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [che-dev] Workspace.Next

One thing I would add to the workspace.next is the split of dev and runtime environments in a Che workspace:

- the development environment contains dev tools and frameworks
- the runtime environment should have the minimum to run the application, nothing more than this.

Currently these environments are merged in a unique Che "dev machine". But that will never match real dev and prod environment where the images are significantly different. 

That's the underlying mechanism of S2I in OpenShift and the main drive for the new multi-stage support in the Dockerfile spec. The prove that's a widespread practice is that we can often spot 2 distinct Dockerfiles to build and run the application in github repos (and eclipse/che is not an exception).  



On Mon, Nov 27, 2017 at 6:01 PM, Gorkem Ercan <gorkem.ercan@xxxxxxxxx> wrote:


On 27 Nov 2017, at 5:33, Thomas Mäder wrote:

So if I read this right, we'll have a tool that takes in a set of kubernetes config files (for example), a chefile and spits out another set of configuration files for both kubernetes and che?


It will not really create a new file but create the actual workspace. It is not really too different from what we do today. We give embed a docker compose syntax to define our multi-container workspace on a stack and in turn che generates those. I think the main difference is to replace the che specific docker compose with the real environment (kubernetes config) and add a way to identify interesting parts of the configuration on chefile.



/Thomas

On 11/24/2017 05:59 AM, Gorkem Ercan wrote:
<snip>

_______________________________________________
che-dev mailing list
che-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/che-dev
_______________________________________________
che-dev mailing list
che-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/che-dev


Back to the top