Repository navigation
fix(up): probe cloud API port 8080 instead of unbound 9090 and size memory for pinned apps - #103
Merged
Merged
Conversation
…emory for pinned apps - Point livenessProbe (/healthz) and readinessProbe (/readyz) at containerPort 8080 (matching production and cmd/cloud's actual probe routes) instead of legacy unbound port 9090, which caused kubelet to SIGTERM the local cloud pod every 5 minutes (30x10s). - Scale cloud pod requests.memory to half the VM RAM (2048Mi on default 4 GiB VM, clamped 1024..=4096Mi) so CLOUD_MEMORY_REQUEST_MIB yields Warm=26, covering all 18 pinned subsystems instead of starving at Warm=11 under 1Gi.
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.
Fixes the local dev 5-minute restart loop (84+ restarts) on
hanzo up:hanzo uppointed bothlivenessProbe(/healthz, 30×10s = 5 min) andreadinessProbe(/readyz) at legacy port9090, which the lightcmd/cloudhost deliberately does not bind (matching prod,cmd/cloudserves/healthzand/readyzon its main HTTP port8080). Kubelet SIGTERMed the pod every 5 minutes, causing coordinated fleet teardown and K9sStream closed EOF.cloudpodrequests.memoryfrom1Gi(Warm=11) to half the VM RAM (2048Mion default 4 GiB VM →Warm=26, clamped1024..=4096Mi) so all 18 pinned subsystems (ai+ 17 eager apps) fit cleanly without boot starvation.the_workload_deploys_the_pinned_image_on_the_forwarded_portto assert probes target port8080(not9090) and request2048Mi. Verified withcargo test commands::up::tests(23/23 passed).