-
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
Add supporting of DeploymentConfig objects in OpenShift recipe #5967
Comments
@sleshchenko just to be on the same page: OS also supports pure deployment objects |
I've lost detailed notes about implementing workspaces as DeploymentConfigs instead of Deployments, but I did leave a comment with a few issues encountered here. Using DCs instead of Deployments means using OpenShiftClient internally instead of KubernetesClient, which has caused us issues at various times in the past. It could also potentially result in a fair bit of code duplication, as Deployments support is part of the Kubernetes infra but DeploymentConfig support would necessarily be OpenShift infra only. |
We might need to redesign some stuff to achieve this. But it is one of the original goals of Workspace.Next to support different formats in their original format without just pulling out some of the data and ignore everything else. This is really important for a real case scenarios where user don't adapt their application definition to be able to use it in Che. |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
/remove-lifecycle stale |
We need to support both |
For clarity,
As it stands, most of our devfiles use |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
The current implementation doesn't support deployment config objects in OpenShift recipe. It was implemented in this way because of a problem of matching environment configuration to containers specified by the recipe.
It was decided to obligate OpenShift recipe objects with the following limits:
pod
objects and templates of pods indeployment configs
objects.So it means that the following recipe is invalid:
Add supporting of DeploymentConfig objects in OpenShift recipe.
Note that deployment config will generate names for pods, and it is needed to put something on labels or annotations to link Running pod and environment machine.
The text was updated successfully, but these errors were encountered: