-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Support Template object in OpenShift recipe #11504
Comments
Definitely +1, thanks @sleshchenko Talking about supporting existed configuration I would say it is more "must have" than "nice to" feature since it looks like Kubernetes List is quite a rare case of describing deployment in real life. |
The following issues are also about supporting real application description in Kubernetes/OpenShift format:
|
@sleshchenko I would also say effective recipe (the one applied to Runtime) should contain all the objects from original configuration. |
Makes sense but I'm not sure that it is possible to create a resource trough K8s/OS Fabric8 client or Rest API resource if you don't understand it. |
@sleshchenko
|
Related to #11476 We can't support templates until we are able to split runtimes in separate pods. |
I don't understand why separation of the runtime is a concern. I think that we can embed sidecars into the user's app. |
But separating it would be definitely easier, so it might not make sense to just spend time on that at the moment |
Yes sorry you are right. We can support Templates. But we definitely can't support Controllers as DeploymentConfig, Job and StatefulSet that you usually find in a Template. |
From my side - convenient way of tools injecting is out of scope. As a side comment - yes, "side-pods" looks more attractive than "side-containers" but IMHO there are some (heavy) technology challenges like networking, volume_mounting etc which have to be addressed in general to be able to deploy on "any" infrastructure. Otherwise, documenting and supporting it will look like a nightmare. |
@amisevsk is there anything left for this issue or we can close it? |
Can be closed as PR is merged. |
Description
Ideally, it would be nice to be able to create a workspace from origin user's application recipe.
Now we support only
KubernetesList
which is quite flexible BUT a usage ofTemplate
is a more common way to deploy user's application.So, if a user uses
Template
for his application then he has to rewrite it inKubernetesList
way to be able to run a workspace with it.It would be nice to support
Template
as an object of OpenShift recipe.Template
may have required parameters which requires input from a user. For now, Che doesn't have a right place where the user would be able to init them. The proposal is to supportTemplate
in OpenShift recipe with one limitation:Template
MUST NOT have any required parameters without default values. In this case, if the user has them in his application recipe - he needs to modify original content and add default values to parameters which is much easier to do than converting the wholeTemplate
toKubernetesList
The text was updated successfully, but these errors were encountered: