Files
terdut-server/docs
Niklas Ye c28a9b7b49 Let the bootstrap hook wait for a database that is slow to start
The server exits when the database does not answer within about ten
seconds, so while the database is down the pod crash-loops with a restart
backoff that grows to five minutes, and /healthz only answers after it has
connected. The hook gave up after a fixed two minutes per attempt, and Flux's
default five-minute timeout came first anyway. A failed hook fails the
release and nothing runs it again until the next upgrade, so a database that
was merely slow left the install without an administrator.

Each attempt now waits bootstrap.waitSeconds (default 600), logging progress,
and the Job gets an activeDeadlineSeconds derived from it so a database that
never comes up still ends the hook. No change to the binary, API or schema.

Claude-Session: https://claude.ai/code/session_016mBLURvJoMuUEr9cB2RpUN
2026-10-13 11:49:05 +02:00
..

Terminal Duty documentation

The README is the short tour. These pages hold the detail.

Running it

  • Deployment: Docker, the Helm chart, the database, backups, and the operator.
  • Configuration: environment variables and settings.
  • Single sign-on: OIDC, group mapping, the terminal device flow.

Using it

Integrating and contributing