KernDocs
KernGitHub ↗

Durability

Storage and upgrades

What is disposable, what persists, and how Kern replaces a host safely.

Three storage lifetimes

ReplacedRoot volumeOS + host runtime
upgraderecoverreconfigure
PreservedAdmin volumeDatabase + host state
PreservedAgent volumeagent-home + work
VolumeContainsUpgrade behavior
RootOS, root-owned Kern runtime, installed system packagesReplaced during upgrade and reconfigure
AdminAdmin database and operator-controlled durable stateDetached and reattached
Agentagent-home, repositories, artifacts, and agent-owned credentialsDetached and reattached

Lifecycle semantics

  • upgrade replaces the instance/root and preserves admin and agent data.
  • recover creates a replacement host from preserved data when no instance exists.
  • reconfigure replaces the root and operator endpoint configuration while preserving durable data.
  • start and stop change runtime state without changing credentials, data, version, or endpoints.