-
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
ConsoleLink for Che on OpenShift #14203
Comments
Example
|
What is the role of Devconsole for generic upstream Eclipse Che?
wdyt @gorkem @rohitkrai03 @benoitf @l0rd @davidfestal ? |
@skabashnyuk What do you mean by |
Well, upstream Che Operator doesn't mean operator for upstream Kubernetes. Currently the upstream Che operator already manages both Openshift and Pure K8s as 2 supported use-cases, with specific actions related to each one (routes vs ingresses, Openshift OAuth, etc ...) It now evens detects the difference between Openshift 3.11 and Openshift 4 in order to adapt the OAuth mechanism or external API URL retrieval. So I don't see why the upstream Eclipse Che operator could not create such a CR (which seems to be part of the overall Openshift 4 infrastructure) when running under Openshift 4 and the corresponding API group is available in current cluster. @gorkem Am I missing some point here ? |
Che operator
It looks to me as a very downstream specific feature. |
There is only one operator (code) and operators are meant to handle configuration differences such as these. This could as well be a difference on storage such as Azure vs AWS. I am not sure if supporting something that happens on a specific platform is a bad thing. Otherwise open source projects would never be able to adopt operating system specific key bindings for instance. It is just a better experience for Che users on OpenShift, we do not take anything away from other distros. |
ok |
I am wondering what happens if 2 different Che instances are deployed on the same cluster. There should be only one Che ConsoleLink per OS cluster but there may be multiple Che servers right? In other words: a Che Server can be deployed by any user but a Che ConsoleLink can only be created by a cluster-wide admin. Should we make the ConsoleLink creation optional? Or handled by a different operator (not che-operator but the console operator)? |
@skabashnyuk am I correct that Platform team is going to take care of this issue? |
yes |
Why do we need to support multiple Che instances on a single cluster? It will be even harder to support when we move to Workspace CRDs. Ideally I do not even want to create This is on che-operator's responsibility. Che operator creates the che resources on the cluster and one of those is ConsoleLink. I do not see why we need to complicate it. |
I've been working on this and there is high chance I won't be able to finish this task before leaving to 2weeks paternity leave. Here's how to make Openshift 4 and ConsoleLink running locally. The tricky part is that CodeReady Containers has latest bundle with openshift
|
to possible future assignee of this task. Here's few hints how I work with che-operator:
|
Status of 2019-08-21Che-operator have vendored dependencies and there is some undefined version of
|
2019-08-22 Morning updateI was able to successfully register ConsoleLink go struct and create consolelink object with that. I've created draft PR with first rough implementation. |
@sleshchenko after discussions this morning we figured out that ConsoleLink do not work for non TLS links. As a consequence we should not create a ConsoleLink if TLS is disabled. |
When Che operator is installed into an OpenShift 4.2 and later, it should create a ConsoleLink CR so that there is a link on the Application Menu of the console to Che installation. This URL information will further enable Console to work with the given Che instance.
The text was updated successfully, but these errors were encountered: