Repository navigation
Conversation
zeekay
added a commit
that referenced
this pull request
Nov 28, 2026
…eadiness - Quiesce k3s and workloads via control.sock Request::Stop (cordoning the node so Deployment.spec.replicas stays intact, draining pods so SQLite WAL and NATS JetStream flush cleanly, stopping k3s/containerd, and checkpointing the live ext4 disk via hanzo-vm stdio RPC to k3s-<ver>-state.ext4 via atomic staging rename so macOS clonefile never hits EEXIST). - Resume from k3s-<ver>-state on hanzo start and hanzo up when present, clamping --disk-size to at least the saved ext4 image, uncordoning the node, preserving bound PVC size in GROUND, and keeping hanzo.local/* images and KMS secrets across stop/start without falling back to published images. - Sweep ~/.hanzo/vm/instances/<vm_pid> on supervisor exit and signal fallback so 26-32 GiB transient disks never leak; wipe k3s-<ver>-state on hanzo reset. - Reconcile PR #114 fixes: discover project hanzo.config.{json,ts} before warm reuse, treat --strict-registry as a warm workload override, plant registry pull secrets on warm/resumed clusters, separate runtime-ready from ready, and wait for Deployment generation + ready/available replicas.
Member
Author
|
Superseded by #119 (merged to |
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.
Reported local startup pulled a 2.95 GB remote image for 36m57s, then logged readiness, scheduling and JetStream failures. Two independent CLI defects found on main: project config only resolves on cold boot; warm deployment/scale success and cold Ready-node are treated as Cloud readiness. Resolve config before warm reuse, honor strict-registry overrides, propagate kubeconfig/API failures instead of silently saying success, wait for the Deployment generation and ready/available replicas on cold and warm starts. Supervisor reports runtime-ready until application readiness succeeds. Adds pure regression tests for stale generation, missing replicas and strict-registry override. No storage migration, local image build/import, RBAC or production config changes in this PR; those are separate workstreams. Requires cargo fmt/test/clippy and real cold/warm VM smoke. No local runtime was exercised by this review.