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

Recreate Hot Update #9528

Closed
skabashnyuk opened this issue Apr 24, 2018 · 1 comment
Closed

Recreate Hot Update #9528

skabashnyuk opened this issue Apr 24, 2018 · 1 comment
Labels
kind/task Internal things, technical debt, and to-do tasks to be performed.

Comments

@skabashnyuk
Copy link
Contributor

Description

We want to introduce "Recreate Update" before "Rolling Update".
We saw some instability of che-master during - Hot update testing on working master | #9415
As part of this issue should and documentation how to do Recreate Hot Update on OpenShift

@mshaposhnik
Copy link
Contributor

mshaposhnik commented Apr 25, 2018

How to perform Recreate type update without stopping active workspaces:

  1. Make sure deployment update strategy set to Recreate
  2. Make POST request to the /api/system/stop api to start WS master suspend
    (means that all new attempts to start workspaces will be refused, and all current starts/stops will be finished). Note that this method requires system admin credentials.
  3. Make periodical GET requests to /api/system/state api, until it returns READY_TO_SHUTDOWN state. Also, it may be visually controlled by line "System is ready to shutdown" in the server logs
  4. Perform new deploy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/task Internal things, technical debt, and to-do tasks to be performed.
Projects
None yet
Development

No branches or pull requests

2 participants