Turn the installation maintenance mode on. Within four seconds every backend replica stops claiming jobs, publishing plan/apply events, starting scheduled jobs and running inline target cleanup. State-changing API requests answer 503 installation.maintenance. Running jobs finish normally. Reading, sign-in, SSO gate and Kubernetes TokenReview keep working. Requires the exact maintenance:manage installation capability of a verified identity. An API token needs allow_installation_admin and an owner who held maintenance:manage when the token was issued.
Request body application/json · InstallationMaintenanceRequest
Optional reason shown with the mode
Why the mode is on. Shown to other administrators and in the maintenance CLI.
Responses
Maintenance mode after the change
InstallationMaintenanceResponse · 6 fields
Who changed the mode last (identity:<id> for the API, cli:<host> for the maintenance CLI).
The answering backend replica refuses to start its work while legacy claims remain.
Unfinished jobs of the installation by registry state.
4 fields
Pending and queued jobs. The next worker takes them with a lease ticket.
Running attempts that hold a lease ticket.
Running attempts of legacy workers without a lease ticket. Each needs an operator decision.
Running records of in-flight API requests. Their requests finish them.
Authentication required
Common errors: 400 403 409 413 429 504. They mean the same for every operation, see Errors.