feat: embed k3s to run soul-demo as self-healing k8s pods #9
Closed
will.anderson
wants to merge 1 commits from
feat/k3s-embedded-soul into stage
pull from: feat/k3s-embedded-soul
merge into: :stage
:main
:cost-opt/soul-demo-stage-minscale
:copy/two-bill-story
:fix/retire-family-child-plan-pricing
:legal/18plus-terms-privacy-reconcile
:fix/safety-claims-match-shipped-behavior
:feat/downloads-page
:fix/honest-claims-closed-beta
:stage
:dev
:fix/csp-analytics
:fix/syntax-error-and-csp
:fix/devices-count-v2
:fix/devices-count
:fix/account-el-meta
:fix/magic-link-flow
:fix/free-plan-setup-intent
:fix/about-rendering
:fix/stripe-dedup-attestation
:fix/webhook-initstripe-textarea
:fix/greeting-history-load
:fix/question-timer-pricing-clarity
:fix/binary-assets-checkout-layout
:fix/zero-pi-setup-future-usage
:fix/free-plan-payment-intent
:fix/free-checkout-stripe
:fix/stage-full-build
:ci/touch-dist
:ci/trigger-rebuild
:fix/force-full-rebuild
:fix/stage-ci-paths
:feat/checkout-comprehensive-tests
:fix/checkout-auth-reveal
:fix/entrypoint-k3s-nonblocking
:fix/single-stage-dockerfile
:fix/stage-source-check
:fix/payment-page-heredoc-escape
:feat/k3s-embedded-soul
:feat/native-el-ui
:fix/ci-elb
:fix/ci-pr-triggers
:fix/stage-source-enforcement
:sync/dev-stage
:fix/have-curl-define
:fix/soul-demo-emit-metric
:fix/pentest-security-hardening
:fix/gallery-layout-account-otp
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "feat/k3s-embedded-soul"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
soul-demo:localOCI tar (no registry needed), and auto-applies the Deployment + NodePort Service + HPA from the server/manifests dirArchitecture changes
/healthz:7772localhost:7772via the k3s NodePort servicebuild-stage.shgains a post-build step: extracts the soul-demo binary from the just-built image, buildssoul-demo:localviadist/Dockerfile.soul-demo, saves it asdist/soul-demo-image.tar, which is then COPY'd into the final image--execution-environment gen2; required for k3s (/dev/kmsg+ Linux capabilities not available on gen1/gVisor)New files
dist/Dockerfile.soul-demo— minimal image for soul-demo (debian:bookworm-slim + binary + snapshot)dist/k3s-soul-demo.yaml— Deployment, NodePort Service (nodePort 7772), and HPA manifestsTest plan
./build-stage.sh devlocally — verifydist/soul-demo-image.taris produced and sized reasonablyGET /healthzon the Cloud Run URL returns 200 after k3s + soul-demo startk3s kubectl get podsshows soul-demo Running inside the container (docker exec)localhost:7772Pull request closed