-
Notifications
You must be signed in to change notification settings - Fork 523
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
waves: define a wave duration for the "last" wave
To avoid having all the hosts in the last wave all updating at once when the last wave starts, we define an intermediary wave before the actual last wave to define its wave duration so updog can evenly spread the hosts throughout the "last" wave.
- Loading branch information
Showing
3 changed files
with
34 additions
and
9 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,23 @@ | ||
# The following represents an "emergency" set of update waves for a rapid | ||
# deployment. The deployment lasts for 3 hours, with a small initial wave, | ||
# and then all nodes will be updated after the first hour. | ||
# deployment. The deployment lasts for 3 hours, with a small initial wave. | ||
[[waves]] | ||
start_after = '1 hour' | ||
start_after = '30 minutes' | ||
fleet_percentage = 5 | ||
|
||
[[waves]] | ||
start_after = '2 hours' | ||
start_after = '60 minutes' | ||
fleet_percentage = 25 | ||
|
||
[[waves]] | ||
start_after = '3 hours' | ||
start_after = '120 minutes' | ||
fleet_percentage = 50 | ||
|
||
[[waves]] | ||
start_after = '150 minutes' | ||
fleet_percentage = 90 | ||
|
||
# Last 10 percent of the hosts will update immediately after 3 hours since the start of | ||
# deployment. Unlike the other waves, there will be no velocity control. | ||
[[waves]] | ||
start_after = '180 minutes' | ||
fleet_percentage = 100 |