/kamal-skills:rolloutfrom kamal-skills
Control how Kamal boots new containers across many servers during a deploy — rolling the release out in batches instead of restarting every host at once. Use when the user mentions "boot limit," "boot strategy," "rolling deploy," "deploy in batches," "restart a few hosts at a time," "stagger the deploy," "boot 25% at a time," "wait between servers," "thundering herd on deploy," or the `boot`, `boot.limit`, `boot.wait`, or `boot.parallel_roles` config keys in config/deploy.yml. For running the deploy itself, see deploy. For how servers map to roles (which matters for parallel_roles), see servers.
Ships in kamal-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are an expert in deploying applications with Kamal. This skill helps you control Kamal's boot strategy — how many hosts boot the new container at a time, and how long to pause between batches — so a deploy across a large fleet rolls out gradually instead of restarting everything at once.
By default, Kamal boots new containers on all hosts in parallel. That is fast and fine for small fleets. It becomes a problem when you have many servers and a simultaneous restart causes:
The boot configuration lets you boot hosts in groups, with an optional pause between each group, so the fleet drains and refills gradually.
On kamal deploy, Kamal builds and pushes the image, then on each host starts the new container, waits for it to pass its health check, routes traffic to it via kamal-proxy, and stops the old container. With no boot configuration, that per-host cycle happens on every host simultaneously.
The boot block changes only the pacing of that rollout across hosts — not what happens on each host.
Open the user's config/deploy.yml and look at the servers: section. Note:
kamal config to list resolved hosts and roles).web and a workers role) — that determines whether parallel_roles is relevant.The bigger the fleet, the more a boot limit helps. For two or three identical web servers, the default parallel boot is usually fine.
Add a boot: block and set limit to the size of each batch. It can be an integer (a fixed number of hosts) or a percentage string:
boot:
limit: 25% # boot a quarter of the hosts at a time
boot:
limit: 3 # boot 3 hosts at a time
Kamal boots one group of that size, finishes it, then moves to the next group until all hosts are done.
If you want the fleet to settle before the next batch cycles (let caches warm, connections rebalance, alarms clear), add wait — the number of seconds to pause between booting each group of hosts:
boot:
limit: 25%
wait: 10
wait only matters when limit is set, because it pauses between groups — with no limit there is a single parallel group and nothing to wait between.
If a single host runs more than one role, Kamal boots those roles on that host sequentially by default. To boot them at the same time instead, set parallel_roles:
boot:
limit: 25%
wait: 10
parallel_roles: true
This only has an effect when a host carries multiple roles. It defaults to false. For how hosts map to roles, see the servers skill.
The boot strategy takes effect on the next deploy. Nothing else changes about the command:
kamal deploy
It applies the same way on kamal redeploy (which deploys without re-bootstrapping servers).
boot Configuration Keys| Key | What it does | Value | Default |
|---|---|---|---|
limit | Number or percentage of hosts to boot at a time | Integer (e.g. 3) or percentage string (e.g. 25%) | Boot all hosts in parallel |
wait | Seconds to wait between booting each group of hosts | Integer seconds (e.g. 10) | Applies only when limit is set |
parallel_roles | Whether multiple roles on a single host boot in parallel instead of sequentially | true / false | false |
All three keys live under a single top-level boot: block in config/deploy.yml.
limit and wait25%) scales automatically as you add or remove servers — good when the fleet grows. An integer (3) keeps batches a fixed size regardless of fleet size — good when batch size is constrained by downstream capacity (e.g. database connection headroom).limit = safer and slower; fewer hosts cycling at once, but more groups to get through.wait trades total deploy time for stability. Start small (a few seconds) and increase if you see load not settling between batches.# config/deploy.yml
service: my-app
image: my-user/my-app
servers:
web:
- 10.0.0.1
- 10.0.0.2
- 10.0.0.3
- 10.0.0.4
- 10.0.0.5
- 10.0.0.6
- 10.0.0.7
- 10.0.0.8
boot:
limit: 25% # boot 2 of the 8 web hosts at a time
wait: 10 # pause 10 seconds between each group
With limit: 25% over 8 hosts, Kamal boots in groups of 2, pausing 10 seconds between groups, until all 8 are running the new version.
kamal deploy / kamal redeploy) and the full per-host deploy sequence that the boot strategy paces.parallel_roles applies.What SKILL.md sets; muted values are Claude Code's defaults
25 skills in this plugin
/accessoriesRun and manage accessory services — databases, Redis, search, and other long-lived dependencies your app needs — through Kamal's `accessories:` configuration and the `kamal accessory` command. Use this when the user says things like "add a MySQL/Postgres/Redis accessory," "run a database with Kamal," "kamal accessory boot," "set up a sidecar/companion service," "my app needs a cache or search container," "persist accessory data with volumes," or "reboot/restart/remove an accessory." Covers defining the accessory (image, host/hosts/role/roles/tag/tags, port, env, files, directories, volumes, network, options, registry, proxy) and operating it with boot, reboot, restart, start, stop, details, logs, exec, and remove. For passing configuration and credentials into accessories, see env and secrets. For scheduled jobs, see cron./aliasesDefine custom command aliases under the top-level `aliases` key in `config/deploy.yml` so a long, repeated `kamal` invocation becomes a single `kamal <name>`. Use it when the user says "add a Kamal alias," "shortcut kamal app exec," "make `kamal console` open a Rails console," "create a one-liner to deploy staging," "I keep retyping the same kamal command," or asks about the `aliases` config key, alias naming rules, or a `deploy -d staging` shortcut. Covers how an alias expands into a `kamal` subcommand, the lowercase letters/numbers/dashes/underscores naming rule, and the documented examples `console: app exec -i --reuse "bin/rails console"`, `uname: app exec -p -q -r web "uname -a"`, and `staging_deploy: deploy -d staging`. For the rest of `config/deploy.yml` and DRYing it up with YAML anchors, see config. For the underlying app exec / console / logs commands the aliases wrap, see app.npx claudepluginhub donnfelker/kamal-skills --plugin kamal-skillsOther plugins' skills for the same job