-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #321 from jmt-lab/pubsys/updater-waves
pubsys: move update wave schedules into twoliter embedded
- Loading branch information
Showing
6 changed files
with
122 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# The following represents an "accelerated" set of update waves for a much | ||
# quicker deployment. The deployment lasts for 1 day, and quickly increases the | ||
# nodes updated at once. | ||
[[waves]] | ||
start_after = '1 hour' | ||
fleet_percentage = 3 | ||
|
||
[[waves]] | ||
start_after = '4 hours' | ||
fleet_percentage = 12 | ||
|
||
[[waves]] | ||
start_after = '8 hours' | ||
fleet_percentage = 40 | ||
|
||
[[waves]] | ||
start_after = '16 hours' | ||
fleet_percentage = 80 | ||
|
||
# Last 20 percent of the hosts will update immediately after 24 hours since the start of | ||
# deployment. Unlike the other waves, there will be no velocity control. | ||
[[waves]] | ||
start_after = '1 day' | ||
fleet_percentage = 100 |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# The following represents a "normal" set of update waves for a typical | ||
# deployment. The deployment lasts for 6 days, and gradually increases the | ||
# nodes updated at once. | ||
[[waves]] | ||
start_after = '1 hour' | ||
fleet_percentage = 1 | ||
|
||
[[waves]] | ||
start_after = '4 hours' | ||
fleet_percentage = 5 | ||
|
||
[[waves]] | ||
start_after = '1 day' | ||
fleet_percentage = 15 | ||
|
||
[[waves]] | ||
start_after = '2 days' | ||
fleet_percentage = 40 | ||
|
||
[[waves]] | ||
start_after = '4 days' | ||
fleet_percentage = 60 | ||
|
||
[[waves]] | ||
start_after = '5 days' | ||
fleet_percentage = 90 | ||
|
||
# Last 10 percent of the hosts will update immediately after 6 days since the start of | ||
# deployment. Unlike the other waves, there will be no velocity control. | ||
[[waves]] | ||
start_after = '6 days' | ||
fleet_percentage = 100 |
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 |
---|---|---|
@@ -0,0 +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. | ||
[[waves]] | ||
start_after = '30 minutes' | ||
fleet_percentage = 5 | ||
|
||
[[waves]] | ||
start_after = '60 minutes' | ||
fleet_percentage = 25 | ||
|
||
[[waves]] | ||
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 |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# The following represents a set of update waves that rolls out more slowly | ||
# than default. The deployment lasts for 13 days, and gradually increases the | ||
# nodes updated at once. | ||
[[waves]] | ||
start_after = '1 hour' | ||
fleet_percentage = 1 | ||
|
||
[[waves]] | ||
start_after = '1 day' | ||
fleet_percentage = 5 | ||
|
||
[[waves]] | ||
start_after = '3 days' | ||
fleet_percentage = 15 | ||
|
||
[[waves]] | ||
start_after = '7 days' | ||
fleet_percentage = 40 | ||
|
||
[[waves]] | ||
start_after = '9 days' | ||
fleet_percentage = 60 | ||
|
||
[[waves]] | ||
start_after = '12 days' | ||
fleet_percentage = 90 | ||
|
||
# Last 10 percent of the hosts will update immediately after 13 days since the start of | ||
# deployment. Unlike the other waves, there will be no velocity control. | ||
[[waves]] | ||
start_after = '13 days' | ||
fleet_percentage = 100 |