From 90fefc419f064a1a4e32494eefa276dd05ca227c Mon Sep 17 00:00:00 2001 From: dhh Date: Mon, 18 Sep 2023 08:31:49 -0700 Subject: [PATCH] Point to rolling restarts --- lib/kamal/cli/templates/deploy.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/kamal/cli/templates/deploy.yml b/lib/kamal/cli/templates/deploy.yml index a77d714d..65b3062d 100644 --- a/lib/kamal/cli/templates/deploy.yml +++ b/lib/kamal/cli/templates/deploy.yml @@ -78,3 +78,8 @@ registry: # hitting 404 on in-flight requests. Combines all files from new and old # version inside the asset_path. # asset_path: /rails/public/assets + +# Configure rolling deploys by setting a wait time between batches of restarts. +# boot: +# limit: 10 # Can also specify as a percentage of total hosts, such as "25%" +# wait: 2