git.delta.rocks / fleet / refs/commits / ddc0a9996bc8

difftreelog

source

docs/features/rollback.adoc692 Brenderedsourcehistory
12= Automatic Rollback3:order: 245Fleet automatically rolls back deployments that fail, preventing bricked machines.67== How It Works89When deploying a new system configuration:10111. Fleet activates the new configuration122. A health check verifies the system booted successfully133. If the check fails, the previous configuration is restored1415Rollback works as long as the system passes the initrd stage. Be careful with changes to root filesystem mounts — those are harder to recover from.1617== Deployment Process1819[source,shell]20----21# Deploy to all hosts22fleet deploy2324# Deploy to specific host25fleet deploy web-12627# Deploy without rollback (not recommended)28fleet deploy --no-rollback29----