Repository navigation
feat(cli): canonical lifecycle contract (start/stop/restart/up/down/ps/reset) + v8.5.1454 - #107
Merged
Merged
Conversation
…/up/down/ps/reset) and release v8.5.1454 - hanzo start: boot local runtime (microVM + k3s + containerd + airgap images) without deploying Cloud. - hanzo stop: gracefully drain Cloud workloads and shut down the local runtime microVM (leaving hanzod alive). - hanzo restart: restart the local runtime and restore Cloud if it was previously running. - hanzo up: implicitly starts runtime if stopped, deploys Deployment+Service on runtime-only k3s, scales warm Cloud back to 1 with zero pulls, or applies overrides in place. - hanzo down: stops Cloud workloads (replicas=0) while keeping local runtime & image cache warm (--vm/--all delegates to stop). - hanzo ps (alias on ls) / hanzo up ps: shows live local runtime, k3s, Cloud, and hanzod status. - hanzo reset [--all]: stops runtime and removes ~/.hanzo/up + ~/.kube/hanzo.yaml (and cached k3s checkpoints with --all).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the canonical Hanzo CLI lifecycle contract:\n\n-
hanzo start/hanzo stop/hanzo restartmanage the local runtime (microVM + k3s + containerd).\n-hanzo up/hanzo downmanage workloads (Cloud + apps) on top of a warm runtime.\n-hanzo pssurfaces local runtime, k3s, Cloud, andhanzodstatus alongside active sandboxes.\n-hanzo reset [--all]explicitly wipes local dev state.\n\nVerified: 470/470 unit tests +cargo clippy --locked --all-targets -- -D warnings(0 warnings).