Skip to content

Is there any way to use service instead of ingress for communicating between che server and theia? #18872

@mtsmfm

Description

@mtsmfm

Summary

Currently, it seems serverResolver returns ingress host name.

https://github.com/eclipse/che/blob/83d797f67fb4ee9932405e585144030f8165beac/infrastructures/kubernetes/src/main/java/org/eclipse/che/workspace/infrastructure/kubernetes/KubernetesInternalRuntime.java#L870

k8s pods may not be able to reach to ingress via che's domain.
For example, chectl server:deploy --platform=docker-desktop on WSL2 sets che domain as https://che-eclipse-che.<wsl2 machine ip>.nip.io but WSL2 and k8s use different private network.

Relevant information

Not only theia, but also che-plugin-broker should be connected via service I think.
I guess these communication issues related to this problem.

#18582
#16439

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/editor/theiaIssues related to the che-theia IDE of Chekind/questionQuestions that haven't been identified as being feature requests or bugs.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions