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

Make it possible to run multiple che-server in parallel #7662

Closed
Tracked by #21941 ...
l0rd opened this issue Nov 30, 2017 · 17 comments
Closed
Tracked by #21941 ...

Make it possible to run multiple che-server in parallel #7662

l0rd opened this issue Nov 30, 2017 · 17 comments
Assignees
Labels
area/che-server kind/epic A long-lived, PM-driven feature request. Must include a checklist of items that must be completed. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. roadmap/1-year Epics that are planned to complete in the short term (12 months or more) sprint/current status/analyzing An issue has been proposed and it is currently being analyzed for effort and implementation approach

Comments

@l0rd
Copy link
Contributor

l0rd commented Nov 30, 2017

Description

This is about starting multiple wsmaster servers (behind a reverse proxy) to serve the same group of workspaces for the purpose of:

@l0rd l0rd added kind/epic A long-lived, PM-driven feature request. Must include a checklist of items that must be completed. status/analyzing An issue has been proposed and it is currently being analyzed for effort and implementation approach labels Nov 30, 2017
@skabashnyuk
Copy link
Contributor

Can we consider this issue is related to wsmaster servers of the same version?

@l0rd
Copy link
Contributor Author

l0rd commented Dec 1, 2017

@skabashnyuk this mechanism should work even for wsmaster with different versions except, of course, if there are breaking changes in the API.

What I mean is that the goal is to realease to production many times a day. To achieve it we need blue-green deployment. So for the deployments that do not introduce breaking changes in the API (99% of the deployment) we should be able run 2 wsmaster in parallel and for deployments that do introduce breaking changes (the remaining 1%) we should use different techniques like canary release or pre-release migration jobs (but this epic is not about these!).

@garagatyi
Copy link

I like the idea!
FYI this should relate to multi-user packaging only since single-user packaging uses DB embedded into Che instance.

@garagatyi
Copy link

Here are issues I see as needed to solve this epic:

@che-bot
Copy link
Contributor

che-bot commented Sep 7, 2019

Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.

Mark the issue as fresh with /remove-lifecycle stale in a new comment.

If this issue is safe to close now please do so.

Moderators: Add lifecycle/frozen label to avoid stale mode.

@che-bot che-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 7, 2019
@l0rd
Copy link
Contributor Author

l0rd commented Sep 14, 2019

/remove-lifecycle stale

@benoitf benoitf removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 15, 2019
@che-bot
Copy link
Contributor

che-bot commented Mar 18, 2020

Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.

Mark the issue as fresh with /remove-lifecycle stale in a new comment.

If this issue is safe to close now please do so.

Moderators: Add lifecycle/frozen label to avoid stale mode.

@che-bot che-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 18, 2020
@che-bot che-bot closed this as completed Mar 25, 2020
@l0rd l0rd added lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Nov 9, 2020
@l0rd
Copy link
Contributor Author

l0rd commented Nov 9, 2020

Reopening. To be revisited once #15425 is completed

@l0rd l0rd reopened this Nov 9, 2020
@skabashnyuk
Copy link
Contributor

skabashnyuk commented Nov 9, 2020

@l0rd can you explain the goal of this task?
Is it suppose to see multiple DevWorksapce controllers in parallel or what? Can we update the title to properly highlight the goals?

@l0rd
Copy link
Contributor Author

l0rd commented Nov 9, 2020

@skabashnyuk no I am still thinking about the che server and the devworkspace controller proxy.

@skabashnyuk
Copy link
Contributor

so then it's about making che-server stateless? Right?

@l0rd l0rd added the roadmap/1-year Epics that are planned to complete in the short term (12 months or more) label Mar 26, 2021
@l0rd
Copy link
Contributor Author

l0rd commented Sep 29, 2021

@skabashnyuk yes

@l0rd l0rd changed the title Make it possible to run multiple wsmaster in parallel Make it possible to run multiple che-server in parallel Feb 20, 2022
@ibuziuk
Copy link
Member

ibuziuk commented Jun 27, 2022

I belive we need to close this issue as outdated since the workspace engine is now DevWorkspace operator - https://newsroom.eclipse.org/eclipse-newsletter/2022/may/eclipse-che-gets-new-dev-environments-engine

@ibuziuk ibuziuk closed this as completed Jun 27, 2022
@l0rd
Copy link
Contributor Author

l0rd commented Jun 27, 2022

@ibuziuk are we able to do a rolling update of Che without any outage (i.e. users can start a workspace while the che-server is getting updated)?

@ibuziuk ibuziuk reopened this Jul 18, 2022
@ibuziuk
Copy link
Member

ibuziuk commented Jan 20, 2023

currently, che deployment is using rolling update

 strategy:
    type: RollingUpdate
    rollingUpdate:
      maxUnavailable: 25%
      maxSurge: 25%

the plan is to retest the flow with workspace startup during rollout update once we decommission db and che-server would become stateless - #21374

@ibuziuk
Copy link
Member

ibuziuk commented Mar 17, 2023

@l0rd I would propose closing this issue in favor of #22067
Basically, it is possible to run multiple che-server in parallel (demoed on the last sprint review). What we are missing is options for configuring replicas for each operand on the CR level

@l0rd
Copy link
Contributor Author

l0rd commented Mar 17, 2023

@ibuziuk makes sense 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/che-server kind/epic A long-lived, PM-driven feature request. Must include a checklist of items that must be completed. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. roadmap/1-year Epics that are planned to complete in the short term (12 months or more) sprint/current status/analyzing An issue has been proposed and it is currently being analyzed for effort and implementation approach
Projects
None yet
Development

No branches or pull requests

6 participants