Skip to content

Upgrading and health

Read the release notes, back up the database, and deploy the new version:

Terminal window
export KELPIE_IMAGE=ghcr.io/denniedev/kelpie:0.2.10
docker stack deploy -c docker-compose.yml kelpie

This updates the server and every agent together; keep them on the same version. The server applies database migrations when it starts. With the example stack file the old server keeps answering until the new one is healthy, so there is little or no downtime. Edge agents on other hosts run their own container: start it again with the new image tag.

Migrations only go forward. To go back to an older version, restore the backup taken before the upgrade.

To run migrations yourself instead, set KELPIE_MIGRATE_ON_START=false and run kelpie migrate before starting the new server.

Releases are published as ghcr.io/denniedev/kelpie:<version> for amd64 and arm64, with build provenance and an SBOM attached. Pre-releases don’t move latest.

  • GET /api/healthz answers as long as the server process runs.
  • GET /api/readyz also checks the database and returns 503 when it can’t reach it.

The Nodes and Endpoints pages show agents and edge agents that stopped answering, and notifications can announce node, agent, and endpoint outages.