Skip to content

Upgrade

Forward only. With a backup.

Install the new version with the same script. It checks the SHA256 before touching anything.

Terminal window
curl -fsSL https://raw.githubusercontent.com/juan52878911/kindling/main/scripts/install.sh | sh -s -- --tag v0.17.0
kling version
kling doctor

Restarting the daemon does not kill the microVMs.

  1. Every file kindling stores carries "schema": N.
  2. Migrating goes from N to N+1, with a backup: <file>.v<N>.bak.
  3. A file from a newer version is neither read nor overwritten.
  4. Anything that can be regenerated is invalidated, not migrated: a golden from another Firecracker shows up as stale and run -from returns 409 with the command to rebuild it.
Terminal window
kling upgrade --dry-run # what it would do, touching nothing
kling upgrade # to the latest stable
kling upgrade --rollback # back to the previous one with its backups

Plan → verified download → dry run → drain → backup → atomic switch.