Ensure a minimum limit of 1 for % boot strategy

Fixes: https://github.com/basecamp/kamal/issues/681
This commit is contained in:
Donal McBreen
2024-03-06 15:40:21 +00:00
parent c10f43e365
commit c7cfc074b6
4 changed files with 25 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
service: app
image: dhh/app
servers:
web:
- "1.1.1.1"
- "1.1.1.2"
workers:
- "1.1.1.3"
- "1.1.1.4"
registry:
username: user
password: pw
boot:
limit: 1%
wait: 2

View File

@@ -13,5 +13,5 @@ registry:
password: pw
boot:
limit: 25%
limit: 1%
wait: 2