Skip to content
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 service discovery of ChePluginEndpoint of sidecar tooling container on k8s/OS infras #10528

Merged
merged 3 commits into from
Jul 25, 2018

Conversation

garagatyi
Copy link

What does this PR do?

This PR is designed to be reviewed in a commit-by-commit manner that simplifies diff review.
This PR adds service discovery for ChePluginEndpoints of sidecar tooling containers on K8s/OS infras.
A detailed log of changes:

  1. Add k8s service for each endpoint in ChePlugin to allow accessing
    ChePluginEndpoint by their name. This allows plugin developers
    have predictable URLs for their sidecar plugins and access them
    from other sidecars.
  2. Improve unit tests readability and coverage.
  3. Refactor k8s impl of WorkspaceNext applier to make the code a bit cleaner.

What issues does this PR fix or reference?

Fixes #9913 , but works only when not affected by #10510

Release Notes

Docs PR

Oleksandr Garagatyi added 3 commits July 24, 2018 17:17
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
Add k8s service for each endpoint in ChePlugin to allow accessing
ChePluginEndpoint by its name. This allows plugin developers
have predictable URLs for their sidecar plugins and access them
from other sidecars.
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
@garagatyi garagatyi changed the title Minimal service discovery2 Add service discovery of ChePluginEndpoint of sidecar tooling container on k8s/OS infras Jul 24, 2018
@garagatyi
Copy link
Author

ci-test

@benoitf benoitf added status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. kind/question Questions that haven't been identified as being feature requests or bugs. labels Jul 24, 2018
@riuvshin
Copy link
Contributor

ci-test build report:
Build details
Test report
selenium tests report data
docker image: eclipseche/che-server:10528
https://github.com/orgs/eclipse/teams/eclipse-che-qa please check this report.

@garagatyi garagatyi merged commit 4310333 into eclipse-che:master Jul 25, 2018
@garagatyi garagatyi deleted the minimalServiceDiscovery2 branch July 25, 2018 09:48
@benoitf benoitf removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Jul 25, 2018
@benoitf benoitf added this to the 6.9.0 milestone Jul 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Questions that haven't been identified as being feature requests or bugs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Service discovery of APIs running in tooling containers of Workspace.Next
6 participants