Skip to content
8. Configuration changes never restart running workspaces

8. Configuration changes never restart running workspaces

  • Status: Accepted
  • Date: 2026-10

Context

Administrators change profiles, teams and security profiles: a new image, a new secret mount, a tighter security context. A pod’s spec cannot be changed in place, so applying a change means recreating the pod, which kills the user’s terminals and running processes. Doing it automatically would restart every workspace using a profile the moment an administrator saves it.

Decision

The operator stamps each pod with a hash of the spec it was built from. When the current configuration would produce a different spec, the workspace gets status.restartRequired=true and the dashboard shows its owner a banner with a Restart button; administrators see the same flag. A restart is requested by annotating the workspace with the UID of the pod to replace, so the request is idempotent. A pod that is lost or has finished is still replaced at once.

Consequences

  • Nobody loses work because of an administrator’s change.
  • An outdated pod keeps running until its owner restarts it or it expires.
  • An operator upgrade that changes how pods are built flags every workspace once.