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

Update helm chart to use RollingUpdate strategy #15915

Closed
dmytro-ndp opened this issue Feb 4, 2020 · 8 comments
Closed

Update helm chart to use RollingUpdate strategy #15915

dmytro-ndp opened this issue Feb 4, 2020 · 8 comments
Assignees
Labels
area/chectl Issues related to chectl, the CLI of Che kind/task Internal things, technical debt, and to-do tasks to be performed. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. severity/P2 Has a minor but important impact to the usage or development of the system.

Comments

@dmytro-ndp
Copy link
Contributor

dmytro-ndp commented Feb 4, 2020

Is your task related to a problem? Please describe.

It's possible to setup Recreate update strategy of Che Server deployment using deploy_che.sh script. This strategy is default in the deploy_che.sh and it has --rolling option to setup Rolling update strategy.

At the same time:

  • there are no neither --rolling or --recreate options in chectl;
  • che-operator configures che-server to use Rolling update strategy by default, and che-operator seems doesn't have an option to setup Recreate update strategy.
@dmytro-ndp dmytro-ndp added kind/task Internal things, technical debt, and to-do tasks to be performed. area/chectl Issues related to chectl, the CLI of Che area/che-operator Issues and PRs related to Eclipse Che Kubernetes Operator labels Feb 4, 2020
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Feb 4, 2020
@l0rd l0rd added severity/P2 Has a minor but important impact to the usage or development of the system. team/deploy and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Feb 5, 2020
@l0rd
Copy link
Contributor

l0rd commented Feb 5, 2020

@dmytro-ndp can you please clarify why this is important for you? I have set severity/P2 because I am considering that RollingUpdate StrategyType should be fine for every scenario but I am missing what's the scenario you have in mind so I may be wrong.

@dmytro-ndp
Copy link
Contributor Author

@l0rd: we are officially supporting recreate update strategy for che6/CRW 1.x.
Recreate strategy is also default for Che 7 deployed to minikube by using helm charts, which is inconsistent with operator installer.
Anyway, feel free to close the issue with won't fix resolution.

@l0rd
Copy link
Contributor

l0rd commented Feb 7, 2020

@dmytro-ndp we should fix the inconsistency. We should not add the --rolling/--recreate option if RollingUpdate works for every user scenario.

@skabashnyuk is there a reason why we use Recreate strategy for wsmaster by default on helm chart and deploy.sh but not on the operator? Would it be an issue if we set RollingUpdate by default everywhere?

@dmytro-ndp
Copy link
Contributor Author

dmytro-ndp commented Feb 7, 2020

@l0rd: well, I didn't mention deploy_che.sh because we are getting rid of it (#13888).

@skabashnyuk
Copy link
Contributor

@l0rd

Is there a reason why we use Recreate strategy for wsmaster by default on helm chart and deploy.sh but not on the operator?

I'm not aware of that.

Would it be an issue if we set RollingUpdate by default everywhere?

It should not.

@tolusha tolusha changed the title [chectl] Make it possible to setup recreate update strategy for che-server deployment using chectl/che-operator Make it possible to setup recreate update strategy for che-server deployment using chectl/che-operator Feb 17, 2020
@tolusha tolusha added status/info-needed More information is needed before the issue can move into the “analyzing” state for engineering. and removed team/deploy labels Mar 21, 2020
@tolusha
Copy link
Contributor

tolusha commented Apr 12, 2020

@dmytro-ndp
Do we still need this?

@l0rd l0rd changed the title Make it possible to setup recreate update strategy for che-server deployment using chectl/che-operator Update helm chart to use RollingUpdate strategy Apr 16, 2020
@l0rd
Copy link
Contributor

l0rd commented Apr 16, 2020

@tolusha we still have to fix the inconsistency between the deployment strategies of Che helm chart (recreate) and Che operator (rollingUpdate). RollingUpdate should be the default for both.

@tolusha tolusha removed the status/info-needed More information is needed before the issue can move into the “analyzing” state for engineering. label May 6, 2020
@tolusha tolusha added area/chectl Issues related to chectl, the CLI of Che and removed area/chectl Issues related to chectl, the CLI of Che area/che-operator Issues and PRs related to Eclipse Che Kubernetes Operator labels Dec 2, 2020
@che-bot
Copy link
Contributor

che-bot commented Nov 4, 2021

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 Nov 4, 2021
@che-bot che-bot closed this as completed Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/chectl Issues related to chectl, the CLI of Che kind/task Internal things, technical debt, and to-do tasks to be performed. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. severity/P2 Has a minor but important impact to the usage or development of the system.
Projects
None yet
Development

No branches or pull requests

6 participants