-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(healthcontroller): perform rolling update
It is now responsibility of the healthcontroller to perform a rolling update. When there was a switch on the current scheduler active version we need to rollout pods with the new version. Health controller either does autoscaling or rolling update. On rolling update, the following will happen: 1. Are there rooms with a previous scheduler version? If so, start update 2. Compute how many rooms we can surge (above desired from autoscaling) 3. Enqueue priority operation to create this rooms 4. Check how many Ready rooms we have above desired from autoscaling 5. Enqueue operation to delete those rooms - they are a buffer, should never offend readyTarget
- Loading branch information
Showing
3 changed files
with
326 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.