Skip to content

Commit

Permalink
Add group update strategy with 1h stagger
Browse files Browse the repository at this point in the history
  • Loading branch information
kanshi committed Aug 4, 2024
1 parent bce7a46 commit da49cee
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions operations/deploy-live.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ job "sbws-live" {
group "sbws-live-group" {
count = 7

update {
max_parallel = 1
health_check = "task_states"
min_healthy_time = "1m"
healthy_deadline = "10m"
progress_deadline = "15m"
auto_revert = true
auto_promote = false
canary = 0
stagger = "1h"
}

spread {
attribute = "${node.unique.id}"
weight = 100
Expand Down

0 comments on commit da49cee

Please sign in to comment.