Upgrades
An upgrade replaces the almad binary or container image on one
control-plane replica at a time while the remaining replicas keep serving.
Existing state remains in place, though a release can update stored schemas
or configuration defaults. Read the Changelog and snapshot
the state backend before upgrading.
In the standard deployment, each control-plane replica runs Auth and Proxy in one process. Upgrade every control-plane replica first, then upgrade workstation clients and target agents.
Version scheme and compatibility
AlmaForge uses calendar versioning in YYYY.N.PATCH format (for example
2026.2.0, 2026.2.1, and 2026.3.0):
- Feature releases (
YYYY.N.0): ship new capabilities and operational improvements. Read the Changelog for any configuration or storage changes before upgrading. - Patch releases (
YYYY.N.PATCH): ship compatible bug fixes and security updates. Apply patch releases promptly, and treat security fixes as same-day updates when an advisory calls for it.
Compatibility rules
During a rolling upgrade, replicas, agents, and workstations run mixed versions temporarily. Follow these rules to keep the cluster available:
- Upgrade the control plane before clients and agents. Finish every
almadreplica before upgradingalmaworkstations or target agents. An agent compares its release year against Auth on startup and refuses to join a cluster running an older release year. - Upgrade one feature release at a time. Move sequentially between
feature releases (for example
2026.2to2026.3) and bring clients and agents up to date before starting the next feature release. A cluster supports its own release and the previous feature release's clients and agents during the rollout window. - Replace one replica at a time. Wait for each restarted replica to pass
/readyzand stabilize before touching the next. With three replicas and a load balancer, new connections route to the replicas that remain in service. On Linux,SIGHUPsupports a zero-downtime reload. For a full restart, drain active sessions first. - Upgrade state backends separately. Do not combine an etcd, PostgreSQL, DynamoDB, or Firestore upgrade with an AlmaForge upgrade in the same maintenance window.
Pre-flight
Complete these checks before changing any production binary or image:
-
Snapshot and verify the state backend. Use the command that matches your backend (see Backups for restore steps):
# etcdetcdctl snapshot save almaforge-<timestamp>.dbetcdutl snapshot status almaforge-<timestamp>.db
# PostgreSQLpg_dump -Fc -f almaforge-<timestamp>.dump <database-name>pg_restore -l almaforge-<timestamp>.dump >/dev/null
# DynamoDBaws dynamodb create-backup --table-name <table-name> --backup-name almaforge-<timestamp>aws dynamodb describe-backup --backup-arn <backup-arn>
# Firestoregcloud firestore export gs://<bucket>/almaforge-<timestamp> -
Review the Changelog for every release between your current version and the target version.
-
Validate in staging and run the checks in Verification before touching production.
-
Confirm alerting on
/readyz, daemon restarts, and audit write errors. -
Freeze configuration changes (roles, connectors, target joins) during the window and agree on rollback criteria before starting.
Upgrade on Linux
On package installs, the DEB and RPM maintainer scripts run
systemctl daemon-reload and restart almad.service if it is
already active. Drain the host from your load balancer before installing the
package if you want to stop new sessions first. Tarball installs require a
manual restart after replacing the binary.
Control-plane replicas
Repeat these steps on each control-plane host, one at a time:
sudo apt install almaforge=2026.2.30 # Debian/Ubuntu# orsudo dnf install almaforge-2026.2.30 # RHEL/Rocky/FedoraFor a tarball install, replace the binary and restart the service:
sudo install -m 0755 almad /usr/local/bin/almadsudo systemctl restart almadVerify the restarted host before moving to the next replica:
sudo systemctl is-active --quiet almad && echo activesudo journalctl -u almad -n 30 | grep -Ei 'started|joined|ready'curl -sf http://localhost:3000/readyz && echo readyalma get authalma get proxyWait for the host to pass /readyz and stabilize (60 seconds is a reasonable
baseline) before advancing to the next replica. Every control-plane replica
must report the target version before you upgrade agents.