Skip to content

Configure GKE sandbox retention and worker sizing - #127

Merged
Alex R (alexr17) merged 4 commits into
mainfrom
alexr/gke-sandbox-checkpoints
Nov 19, 2026
Merged

Alex R (alexr17) merged 4 commits into
mainfrom
alexr/gke-sandbox-checkpoints

Conversation

@alexr17

@alexr17 Alex R (alexr17) commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

GKE sandboxes currently have only node-local storage; add an opt-in checkpoint overlay with the worker package pinned in Helm release values.
Share the runtime HPA target with sandbox capacity sizing and document scaling, draining, and recovery.
Pin migration-test inputs so chart image updates do not change the expected migration bundle.

Input Expected behavior and checked boundary
Worker chart release metadata Installers inherit the release pin; explicit overrides support older releases and custom packages; missing/null/empty pins require an override
Overlay omitted Existing retention-off configuration is preserved
Overlay with a GCS checkpoint URI Durable storage configuration, longer worker shutdown grace, and checkpoint memory reservation render
Old retained values or partial overrides Explicit retention/store/image values work with the compatible worker chart without empty controller arguments
Retention null or disabled; checkpoint store null Existing disabled configuration renders; rollback still needs coordination for retained sandboxes
Retention disabled with a nonempty checkpoint store The worker chart rejects this inconsistent configuration
Runtime HPA disabled, including ignored target values Sandbox capacity target remains 50%
Runtime HPA enabled with integer or fractional targets Runtime and sandbox capacity use the same utilization target
Enabled HPA target below 1% Preserve the HPA target and use the sandbox runtime minimum of 1%
Missing/null autoscaling map, partial reused values, or null target Preserve the existing disabled/default behavior and 50% target
Enabled HPA target empty, zero, or above 100% Existing HPA validation rejects the value
Zero worker replicas The worker controller receives the zero target and continues to own draining
Release tags with/without v, full/short/numeric SHAs, prerelease and custom tags No new image-tag restrictions; each format renders
AWS, Google, Azure and minimal primary-chart configurations Existing primary-chart rendering remains unchanged

The published worker chart was checked across 14 configurations; this does not establish live GCS or Firecracker recovery.

@alexr17
Alex R (alexr17) marked this pull request as ready for review November 9, 2026 18:24
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T18:25:18.347257Z 6d4d069 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@alexr17
Alex R (alexr17) force-pushed the alexr/gke-sandbox-checkpoints branch from 6d4d069 to 36061b5 Compare November 19, 2026 06:02
@alexr17 Alex R (alexr17) changed the title Add GKE sandbox filesystem retention example Configure GKE sandbox retention and worker sizing Nov 19, 2026
@alexr17
Alex R (alexr17) merged commit f92654d into main Nov 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants