Skip to content

Releases

CubePod v0.7.1

Choose a tag to compare

@github-actions github-actions released this 22 Nov 00:53

CubePod 0.7.1

Features and improvements

  • Complete GHCR image & manifest release + CI image build coverage. Added .github/workflows/ci.yml (sandbox-images-ci) to build-verify images/sandbox-base/Dockerfile and images/desktop/Dockerfile on pull requests and pushes to main, and publishes the full 6-image GHCR release set (cubepod-podd, cubepod-controller, cubepod-gateway, cubepod-egress, cubepod-sandbox-base, cubepod-desktop) along with release-manifest-v0.7.1.yaml.

Fixes

  • Fix cubepod-desktop image build (images/desktop/Dockerfile). Added libatomic1 (required by Playwright's bundled Node.js driver) and passed --ignore-installed to pip install --no-cache-dir --break-system-packages so installing playwright and Python data-science packages succeeds alongside Ubuntu 24.04 Debian-apt-managed packages.

Known issues

  • Kata + Firecracker block device hotplug race (#120). On Kata Containers with Firecracker (kata-fc), sandbox Pod creation can intermittently fail before any CubePod container starts with EIO: I/O error (EXT4-fs (vdb): unable to read superblock) due to a virtio-mmio drive hotplug race. See issue #120.
  • Firecracker + E2B volume mount persistence (#122). Kata Firecracker lacks virtio-fs filesystem sharing, so official E2B volumeMounts (currently staged as filesystem directories via ShareFile host-to-guest copy) do not write guest changes back to the volume across sandbox recreation on kata-fc. See issue #122.
  • Recommended default hypervisor: Cloud Hypervisor (kata-clh). For Kubernetes Kata MicroVM deployments, Cloud Hypervisor (kata-clh) is recommended as the default hypervisor until #120 and #122 are resolved. In CI, the kata-clh lane passes the full official Python and TypeScript E2B SDK suites with zero skipped tests.

Before upgrading

If upgrading from 0.6.0 or earlier, apply the updated SandboxWebhook CRD (status.deadLetters) before running helm upgrade:

kubectl apply -f deploy/helm/cubepod/crds/

If upgrading from 0.6.0 or earlier, also review the 0.7.x changes in 0.7.0 and Kubernetes & Helm Deployment (gateway.panelSecret / CUBEPOD_PANEL_SECRET required at startup, featureGates.e2bTemplateAPI defaulting to true, and runtime.runtimeClassName: "kata-clh" recommended for Kata).

Upgrade cubepod-controller, cubepod-gateway, cubepod-egress, cubepod-podd, cubepod-sandbox-base, and cubepod-desktop images together with the 0.7.1 Helm Chart, and update client SDKs (pip install -U cubepod==0.7.1 / npm install cubepod@0.7.1).

GitHub Release · Full changes since 0.7.0

English changelog · 中文更新日志


Pull requests and contributors

What's Changed

Other Changes

  • chore(release): prepare v0.7.1 and fix desktop image build by @xfgong in #143

Full Changelog: v0.7.0...v0.7.1

CubePod v0.7.0

Choose a tag to compare

@github-actions github-actions released this 21 Nov 14:27
fff511d

CubePod 0.7.0

Features and improvements

  • E2B Template API GA, S3 Context Store & BuildKit mTLS/HA (#114). Promoted E2BTemplateAPI (featureGates.e2bTemplateAPI) to default true, added an S3 template build context store (templateBuild.contextStore.backend: "s3") so cubepod-controller can run multi-replica HA with templateBuild.enabled: true, and added BuildKit StatefulSet HA + mTLS support (templateBuild.buildkit.tls). See Kubernetes & Helm Deployment and Templates Guide.
  • HTTP/2 (h2) ALPN Negotiation in Zero-Trust Egress (CEP-0020, #107). Added h2 + http/1.1 ALPN negotiation on cubepod-egress's selective HTTPS MITM listener, preserving :authority/SNI validation (421), header transforms, cpodref_ exchange (403 on unauthorized targets), streaming flushes, and cubepod_egress_mitm_alpn_total metrics.
  • Kubernetes-Native Sandbox Events & Webhooks HA (#115). Wired events.backend: "k8s" across Helm, Gateway, and Controller using SandboxWebhook CRs with status.deadLetters (up to 50 entries), companion Secret storage for HMAC signing keys, PodBox core/v1 Events, and deploy/monitoring/webhook-alerts.yaml.
  • Desktop Neko WebRTC Packaging, browser_tab_follow & Unified GHCR Images (#116, #138). Packaged Neko WebRTC and GStreamer runtime plugins directly in images/desktop, implemented browser_tab_follow (/opt/cubepod/desktop/browser_tab_follow.py and Python SDK helpers), unified images/sandbox-base, de-branded images/desktop UID/GID 1000 user handling, and added cubepod-sandbox-base and cubepod-desktop to the GHCR release matrix.
  • Volume KMS Envelope Encryption, Key Rotation & RWX Alerts (#112). Added KMS envelope encryption and API-key rotation support for E2B volumes along with deploy/monitoring/e2b-volumes-alerts.yaml.
  • Expanded Observability & Periodic Metrics Sampler (#108, #109). Added a background sandbox metrics sampler (gateway.metricsSampleInterval: "10s"), dedicated filesystem watch/stream and secret-store latency Prometheus histograms, Grafana dashboard (deploy/monitoring/sandbox-metrics-dashboard.json), and PrometheusRule alerts (deploy/monitoring/sandbox-metrics-rules.yaml, watcher-secret-alerts.yaml).
  • Longhorn V2 Security Review, Kata Block Verification & Soak Suite (#113). Documented the Longhorn V2 privileged DaemonSet security review in Kata & Block Storage, added deploy/k8s/longhorn-v2/volumesnapshotclass.yaml, non-disruptive in-guest Kata virtio-blk verification (TestK8sKataVirtioBlkGuestVerification), and multi-hour concurrent soak tests (make test-soak).
  • Reproducible kind, Compose & Kata Dual-SDK E2E Pipelines (#111, #117, #118, #140, #141). Added isolated kind, Docker Compose, and KVM Kata (kata-clh and kata-fc) E2E suites running the official Python and TypeScript E2B SDKs, plus bilingual README updates. See Reproducible kind E2E and Docker Compose.

Fixes

  • Controller & Gateway Lifecycle State-Machine Hardening (#124, #129, #133, #134, #135, #137, #139). Prevented Terminated PodBox instances from being resurrected, synced Failed phases to the reconciler and cleared stale leases, rejected lease/timeout/refresh operations on terminated sandboxes, enforced PodIP readiness before claiming PodWarmPool standbys or retiring templates, reconciled provisioning PodBoxes when Pods become ready, deep-copied templates returned by GetPodTemplate, and standardized E2B JSON error payloads on sandbox API failures.
  • Panel HMAC Secret & Target URL Security (#126, #128). Required a valid CUBEPOD_PANEL_SECRET at cubepod-gateway startup (auto-generated and reused via panel-secret.yaml in Helm or persisted by gateway-entrypoint.sh in Compose) and ignored client-supplied targetUrl values when minting panel tokens.
  • Metrics, E2B Volume Mount & Docker Runtime Fixes (#109, #111). Stopped the metrics sampler from resurrecting deleted series, gated gauges to running sandboxes, mounted E2B volumes without container CAP_SYS_ADMIN in no-pivot mode, and wired isolated Docker filesystem sandboxes.

Known issues

  • Kata + Firecracker block device hotplug race (#120). On Kata Containers with Firecracker (kata-fc), sandbox Pod creation can intermittently fail before any CubePod container starts with EIO: I/O error (EXT4-fs (vdb): unable to read superblock) due to a virtio-mmio drive hotplug race. See issue #120.
  • Firecracker + E2B volume mount persistence (#122). Kata Firecracker lacks virtio-fs filesystem sharing, so official E2B volumeMounts (currently staged as filesystem directories via ShareFile host-to-guest copy) do not write guest changes back to the volume across sandbox recreation on kata-fc. See issue #122.
  • Recommended default hypervisor: Cloud Hypervisor (kata-clh). For Kubernetes Kata MicroVM deployments, Cloud Hypervisor (kata-clh) is recommended as the default hypervisor until #120 and #122 are resolved. In CI, the kata-clh lane passes the full official Python and TypeScript E2B SDK suites with zero skipped tests.

Before upgrading

0.7.0 updates the SandboxWebhook CRD schema (status.deadLetters). Apply the latest CRDs before running helm upgrade:

kubectl apply -f deploy/helm/cubepod/crds/

Review the following 0.7.0 behavioral changes in Kubernetes & Helm Deployment:

  • Panel HMAC secret required (gateway.panelSecret / CUBEPOD_PANEL_SECRET): cubepod-gateway now refuses to start with an empty or placeholder secret. Online Helm installs/upgrades generate and reuse <fullname>-panel-secret automatically when gateway.panelSecret is empty; GitOps / helm template deployments should set gateway.existingPanelSecret.
  • featureGates.e2bTemplateAPI defaults to true: GET /templates now returns the E2B E2BTemplate[] array by default. Set featureGates.e2bTemplateAPI: false to roll back to the legacy {"templates":[...]} wrapper.
  • Recommended Kata RuntimeClass: If choosing between Firecracker and Cloud Hypervisor for Kata workloads, configure runtime.runtimeClassName: "kata-clh".

Upgrade cubepod-controller, cubepod-gateway, cubepod-egress, and cubepod-podd images (and cubepod-sandbox-base / cubepod-desktop if used) together with the 0.7.0 Helm Chart, and update client SDKs (pip install -U cubepod==0.7.0 / npm install cubepod@0.7.0).

GitHub Release · Full changes since 0.6.0

English changelog · 中文更新日志


Pull requests and contributors

What's Changed

Other Changes

  • docs(cep): sync CEP status, stage, and implementation history (#105) by @xfgong in #110
  • feat(egress): support HTTP/2 (h2) ALPN negotiation in selective HTTPS MITM proxy (#101) by @xfgong in #107
  • docs(website): clarify E2B RootFS persistence mechanism by @xfgong in #119
  • feat(metrics): export dedicated watcher/stream metrics and secret store latency histograms (#103) by @xfgong in #108
  • feat(metrics): periodic sandbox metrics sampler, K8s E2E assertions, Prometheus rules (#98) by @xfgong in #109
  • feat(volume): add KMS envelope encryption, API-key rotation, and RWX capacity alerts (#102) by @xfgong in #112
  • feat(k8s-e2e,docs): record Longhorn V2 security review, verify Kata virtio-blk, and add rolling-update/soak suites (#104) by @xfgong in #113
  • feat(templates): add S3 context store for HA controller, BuildKit mTLS/HA, and enable E2BTemplateAPI by default (#100) by @xfgong in #114
  • feat(events): wire SandboxWebhook CRD, K8s Secret backend, PodBox Events, and dead-letter queue by @xfgong in #115
  • feat(desktop): package Neko WebRTC in images/desktop and implement browser_tab_follow (#99) by @xfgong in #116
  • fix(controller): deep-copy templates returned from GetPodTemplate by @komirka in #124
  • ci: add real kind E2E pipeline with official E2B SDKs by @gammakfinn in #111
  • fix(gateway): ignore client targetUrl when minting panel tokens by @komirka in #126
  • fix(controller): reconcile provisioning PodBoxes when Pod becomes ready by @xfgong in #129
  • ci(e2e): add isolated Compose pipeline with official dual SDKs by @gammakfinn in #117
  • fix(controller,gateway): prevent Terminated PodBox from being resurrected by @xfgong in #133
  • fix(gateway): reject lease/timeout/refresh on Terminated sandboxes and propagate lease by @xfgong in #137
  • fix(controller): prevent claiming PodWarmPool entries without PodIP by @xfgong in https://github.c...
Read more

CubePod v0.6.0

Choose a tag to compare

@github-actions github-actions released this 18 Nov 03:02
60b33f9

CubePod 0.6.0

Features and improvements

  • E2B Sandbox Metrics & Prometheus Observability (CEP-0029, #92). Added E2B-compatible GET /sandboxes/{id}/metrics and GET /sandboxes/metrics endpoints backed by in-guest podd sampling (GET /metrics and GET /v1/prometheus, including podd-init boot timings from /run/cubepod/init-state.json). Expanded Gateway (:8080/metrics), Controller (:8081/metrics), and Egress (:19090/metrics) with Prometheus metrics covering E2B request latency, CoW forks, WarmPool readiness, E2B volume mounts, secrets, panel sessions, desktop activations, events, webhooks, and egress decisions. See API Overview.
  • Transparent Egress wiring & CSI VolumeSnapshot CoW fork mode (#89). Wired TransparentEgress (CUBEPOD_TRANSPARENT=1 + NET_ADMIN) and WarmPool egress secret handling into cubepod-controller, added --fork-mode=snapshot with --volume-snapshot-class (snapshot.storage.k8s.io/v1 VolumeSnapshot cloning alongside pvc-clone), and added controller fork and WarmPool Prometheus metrics.
  • Multi-replica Secrets HA & strict per-pod mTLS exchange (#90). Added KubeSecretBackend (secrets.backend: "k8s") persisting AES-256-GCM encrypted E2B secrets in Kubernetes Secrets for stateless multi-replica Gateway HA, added HA Vault re-hydration (Sync), and enforced strict per-pod mTLS on /internal/v1/egress/exchange (--egress-mtls-addr).
  • Gateway concurrency, feature gates & async reaper events (#91). Added per-sandbox operation locking (lockSandboxOp), TOCTOU-safe SyncPodBoxesOnce reconciliation, asynchronous idle reaper lifecycle events and webhook delivery, unified --feature-gate flags across Gateway and Controller, and E2B volume mount counters.
  • Optional Desktop WebRTC transport with noVNC fallback (#95). Added transport: "webrtc" | "novnc" to /sandboxes/{id}/desktop/start (images/desktop/cubepod-desktop-ctl and pkg/gateway/desktop.go), returning webrtcUrl, transportUsed, and fallbackReason with automatic graceful fallback to noVNC. See Interactive Desktop & Panel Proxy.
  • Native Python & TypeScript SDK feature parity (#95). Added sandbox metrics, write-only Secrets (Secret.fill / fill_secret), durable Volumes & content I/O, lifecycle Events & signed Webhooks, and Desktop transport options across both Python SDK and TypeScript SDK.
  • Complete v0.6.0 Helm Chart wiring & Gateway PDB (#95). Added pdb.yaml (PodDisruptionBudget automatically enabled when gateway.replicaCount > 1), secrets-key-secret.yaml and secrets.* configuration, egress.transparent, unified featureGates.* --feature-gate flags, and automatic RWX e2bVolumes + K8sE2BVolumeMounts activation when e2bVolumes.rwxStorageClassName is set. See Kubernetes & Helm Deployment.
  • TypeScript E2B compatibility suite, live K8s E2E tests & documentation (#93, #94, #88). Added test/e2b-compat-ts (make test-e2b-compat-ts), extended Python E2B compatibility coverage, added live Kubernetes E2E lifecycle and WarmPool tests (test/k8s-e2e/k8s_e2e_test.go), updated bilingual website guides and CEP metadata, refreshed og-banner.png, and translated docs/architecture.md to English (preserving docs/architecture_zh.md).

Fixes

  • Controller, Vault & Gateway edge-case hardening (#89, #90, #91, #92). Hardened WarmPool egress secret lifecycle, VolumeSnapshot naming and build secret cleanup (#89); fixed Vault exchange/rotation races, composite fork keys, and Store.Sync locking (#90); prevented SyncPodBoxesOnce TOCTOU eviction (#91); and enforced metrics tenant isolation, bounded Prometheus label cardinality, ring buffer eviction, and CPU/loadavg guards (#92).

Before upgrading

No Kubernetes CRD schema fields changed between 0.5.4 and 0.6.0. If upgrading from v0.5.0 or earlier, apply the latest CRDs before running helm upgrade:

kubectl apply -f deploy/helm/cubepod/crds/

Review the new 0.6.0 Helm Chart defaults in Kubernetes & Helm Deployment:

  • secrets.backend defaults to "k8s" (requires an encryption key via secrets.existingSecret, secrets.encryptionKey, or gateway.secretsKeySecret when running multi-replica HA).
  • egress.transparent and featureGates.transparentEgress are both true by default; both must be enabled for transparent nftables/DNS interception.
  • Setting e2bVolumes.rwxStorageClassName now automatically enables e2bVolumes and K8sE2BVolumeMounts.

Upgrade cubepod-controller, cubepod-gateway, cubepod-egress, and cubepod-podd images together with the 0.6.0 Helm Chart, and update client SDKs (pip install -U cubepod==0.6.0 / npm install cubepod@0.6.0).

GitHub Release · Full changes since 0.5.4

English changelog · 中文更新日志


Pull requests and contributors

What's Changed

Other Changes

  • docs: refresh social share banner as PNG by @gammakfinn in #88
  • feat(helm,desktop,sdks): complete v0.6.0 Helm wiring, Desktop WebRTC transport, and Native SDKs by @xfgong in #95
  • feat(controller): wire transparent egress, VolumeSnapshot fork mode, and fork/warmpool metrics by @xfgong in #89
  • feat(secrets): add KubeSecretBackend, HA Vault re-hydration, and strict mTLS exchange by @xfgong in #90
  • feat(gateway): add per-sandbox locking, async reaper events, feature gates, and volume mount counters by @xfgong in #91
  • feat(metrics,podd): implement E2B sandbox metrics, missing Prometheus metrics, and cross-track wiring by @xfgong in #92
  • test(compat,k8s-e2e): add TS E2B compat suite, extend Python compat, and add live K8s E2E tests by @xfgong in #93
  • docs(website,cep): document v0.6.0 features and sync CEP metadata by @xfgong in #94
  • chore(release): prepare v0.6.0 by @xfgong in #96

Full Changelog: v0.5.4...v0.6.0

CubePod v0.5.4

Choose a tag to compare

@github-actions github-actions released this 16 Nov 12:47
90941ff

CubePod 0.5.4

Fixes

  • Non-blocking Gateway health probes during slow sandbox reconciliation (#86). Introduced per-sandbox operation serialization (lockSandboxOp) in pkg/gateway and refactored handlePauseSandbox, handleConnectSandbox, handleResetRootfs, and ensureRunning to release Server.mu across blocking Kubernetes Reconcile, waitForPoddReady, and runtime lifecycle calls. Prevents kubelet GET /health liveness probes from timing out while waiting on Server.mu.RLock() during long-running Longhorn/Kata PodBox startup or RootFS reset operations.

Before upgrading

No CRD schema changes are introduced in 0.5.4 compared to 0.5.3 (if upgrading from v0.5.0 or earlier, apply kubectl apply -f deploy/helm/cubepod/crds/ first).

Upgrade cubepod-controller, cubepod-gateway, cubepod-egress, and cubepod-podd images together with the 0.5.4 Helm Chart via the Kubernetes & Helm deployment guide, and update client SDKs (pip install -U cubepod==0.5.4 / npm install cubepod@0.5.4).

GitHub Release · Full changes since 0.5.3

English changelog · 中文更新日志


Pull requests and contributors

What's Changed

Other Changes

  • fix(gateway): release server mutex during blocking sandbox reconcile I/O by @xfgong in #86
  • chore(release): prepare v0.5.4 by @xfgong in #87

Full Changelog: v0.5.3...v0.5.4

CubePod v0.5.3

Choose a tag to compare

@github-actions github-actions released this 16 Nov 12:26
8c9cb5a

CubePod 0.5.3

Fixes

  • WarmPool readiness probe & sub-second claim fast path (#84). Attached a podd /health (:49983) readinessProbe to sandbox Pods in BuildKataPod, updated RESTKubeClient to wait for Ready=True and surface PodIP/NotReady in ListPods, and updated Reconcile so WarmPoolClaimed reuses the standby PodIP directly instead of issuing a redundant EnsurePod (409 Conflict) round-trip.
  • Python SDK case-insensitive terminal states (#83). Treated sandbox terminal states case-insensitively in the Python SDK so lowercase E2B wire states (running, paused, terminated, failed) match cleanly.

Before upgrading

No CRD schema changes are introduced in 0.5.3 compared to 0.5.2 (if upgrading from v0.5.0 or earlier, apply kubectl apply -f deploy/helm/cubepod/crds/ first).

Upgrade cubepod-controller, cubepod-gateway, cubepod-egress, and cubepod-podd images together with the 0.5.3 Helm Chart via the Kubernetes & Helm deployment guide, and update client SDKs (pip install -U cubepod==0.5.3 / npm install cubepod@0.5.3).

GitHub Release · Full changes since 0.5.2

English changelog · 中文更新日志


Pull requests and contributors

What's Changed

Other Changes

  • fix(python-sdk): treat sandbox terminal states as case-insensitive by @gammakfinn in #83
  • fix(controller): wait for podd readiness on warm pods and skip redundant EnsurePod on claim by @xfgong in #84
  • chore(release): prepare v0.5.3 by @xfgong in #85

New Contributors

Full Changelog: v0.5.2...v0.5.3

CubePod v0.5.2

Choose a tag to compare

@github-actions github-actions released this 16 Nov 11:36
93ecb99

CubePod 0.5.2

Features and improvements

  • Complete Helm Chart configuration wiring (#80). Wired runtime.*, storage.*, egress.*, global.imagePullSecrets, runtime.templatePullSecret, gateway.livePodRouting, and gateway.persistence / stateDir into the Helm Chart, added gateway-state-pvc.yaml, and added egress.caSecretName / egress.upstreamCAEnabled secret mounting across both controller and gateway Deployments.
  • Default egress sidecar image flag & Gateway pull secrets (#80). Added --egress-image (CUBEPOD_EGRESS_IMAGE) and controller.WithDefaultEgressImage to cubepod-controller and cubepod-gateway, and wired --image-pull-secrets (CUBEPOD_IMAGE_PULL_SECRETS) on cubepod-gateway.
  • Local Kubernetes maintenance template & CRD reference sync (#80). Added deploy/k8s/local.example/ as a reproducible Helm-based cluster maintenance template alongside a gitignored deploy/k8s/local/ workspace, and included SandboxWebhook (cubepod.io_sandboxwebhooks.yaml) in generated CRD documentation.

Fixes

  • Helm SandboxWebhook RBAC & Gateway CUBEPOD_STATE events directory (#80). Added sandboxwebhooks and sandboxwebhooks/status permissions to deploy/helm/cubepod/templates/rbac.yaml, and fixed cubepod-gateway to derive eventsDir from effectiveStateDir (CUBEPOD_STATE or --state-dir).

Before upgrading

If upgrading from v0.5.0 or earlier, apply the latest CRDs before running helm upgrade:

kubectl apply -f deploy/helm/cubepod/crds/

Upgrade cubepod-controller, cubepod-gateway, cubepod-egress, and cubepod-podd images together with the 0.5.2 Helm Chart via the Kubernetes & Helm deployment guide, and update client SDKs (pip install -U cubepod==0.5.2 / npm install cubepod@0.5.2).

GitHub Release · Full changes since 0.5.1

English changelog · 中文更新日志


Pull requests and contributors

What's Changed

Other Changes

  • fix(helm,controller,gateway): wire runtime, storage, egress, and persistence options by @xfgong in #80
  • chore(release): prepare v0.5.2 by @xfgong in #81

Full Changelog: v0.5.1...v0.5.2

CubePod v0.5.1

Choose a tag to compare

@github-actions github-actions released this 16 Nov 10:50
3e2a27f

CubePod 0.5.1

Features and improvements

  • E2B PTY, WatchDir, and RWX Volume mounts (CEP-0026). Added official E2B PTY create, I/O, resize, reconnect, and kill (#65), files.watch_dir / WatchDir streaming (#66), and the Volume API with content operations and Kubernetes Kata RWX volume mounts (#67, #70).
  • E2B Secrets API & zero-trust vault integration (CEP-0027). Implemented /secrets CRUD endpoints and zero-trust vault integration (#73) so official E2B clients can manage secrets without exposing plaintext credentials inside sandboxes.
  • Sandbox lifecycle events & signed webhooks (CEP-0028). Added sandbox lifecycle event streaming and HMAC-signed webhook delivery (#78), introducing the SandboxWebhook CRD (cubepod.io_sandboxwebhooks.yaml) and webhook event fields on PodBox.
  • E2B Compatibility Guide & cubepod.dev docs site. Published the E2B Compatibility Guide, aligned OpenAPI tags and summaries for secrets, webhooks, and events with E2B, migrated docs to https://cubepod.dev/, and wired make test-e2b-compat into CI.

Fixes

  • Official E2B 2.64.0 SDK wire-format & template tag alignment. Aligned /v2/sandboxes and /secrets wire formats with the official E2B 2.64.0 SDK (#75), returned UUID buildID values for official E2B template tag APIs (#76), and fixed files.write uploads and TypeScript commands.run exitCode handling (#64).
  • Ephemeral PVC reclamation & podd ConnectRPC List/Stat/Remove. Reclaimed ephemeral PVCs on kill() and implemented ConnectRPC List, Stat, and Remove handlers in crates/podd (#68).
  • Controller pod naming & image ENV HOME preservation. Dropped the -kata-pod suffix in controller pod naming and preserved the container image's ENV HOME in crates/podd (#72).

Before upgrading

0.5.1 adds the SandboxWebhook CRD (deploy/helm/cubepod/crds/cubepod.io_sandboxwebhooks.yaml) and updates PodBox (deploy/helm/cubepod/crds/cubepod.io_podboxes.yaml). Apply the updated CRDs before running helm upgrade:

kubectl apply -f deploy/helm/cubepod/crds/

Upgrade gateway, controller, egress, and podd injector images together to v0.5.1 via the Kubernetes & Helm deployment guide, and update client SDKs (pip install -U cubepod==0.5.1 / npm install cubepod@0.5.1).

GitHub Release · Full changes since 0.5.0

English changelog · 中文更新日志


Pull requests and contributors

What's Changed

Other Changes

  • Push v-prefixed GHCR image tags during release by @xfgong in #62
  • fix(e2b): official files.write upload and TS commands.run exitCode by @xfgong in #64
  • feat(e2b): official PTY create, I/O, resize, reconnect, and kill by @xfgong in #65
  • feat(e2b): official files.watch_dir and WatchDir streaming by @xfgong in #66
  • feat(e2b): official Volume API, content, and sandbox mounts by @xfgong in #67
  • fix(e2b): reclaim ephemeral PVCs on kill() and add podd ConnectRPC List/Stat/Remove by @xfgong in #68
  • docs(cep): add CEP-0026 for K8s Kata E2B volume mounts by @xfgong in #69
  • feat(e2b): implement K8s Kata RWX volume mounts (CEP-0026) by @xfgong in #70
  • Drop -kata-pod Pod suffix and preserve image ENV HOME by @xfgong in #72
  • docs(cep): add CEP-0027 for E2B Secrets API and zero-trust vault integration by @xfgong in #71
  • feat(secrets): implement E2B Secrets API and zero-trust vault integration (CEP-0027) by @xfgong in #73
  • docs(cep): mark CEP-0027 as implemented by @xfgong in #74
  • docs: document E2B compatibility and SDK differences by @xfgong in #63
  • fix(e2b): align /v2/sandboxes and /secrets wire format with official E2B 2.64.0 SDK by @xfgong in #75
  • fix(templates): return UUID buildID for official E2B tag APIs and add SDK tests by @xfgong in #76
  • docs(cep): add CEP-0028 for sandbox lifecycle events and signed webhooks by @xfgong in #77
  • feat(events): implement sandbox lifecycle events and signed webhooks (CEP-0028) by @xfgong in #78
  • chore(release): prepare v0.5.1 by @xfgong in #79

Full Changelog: v0.5.0...v0.5.1

CubePod v0.5.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 02:11
c44f6b8

CubePod 0.5.0

Features and improvements

  • CubePlex cbxref_ zero-trust egress MITM & isolated guest CA injection. Wired cbxref_ credential placeholder exchange and ExchangeURL-triggered TLS MITM into cubepod-egress, split the guest-facing <box>-egress-ca Secret (mitm-ca.crt only, composed into /run/cubepod/ca-certificates.crt by podd-init in Block mode) from <box>-egress-mtls, and added -egress-upstream-ca-file across cubepod-controller, cubepod-gateway, and cubepod-egress for private upstream CAs. See Zero-Trust Egress.
  • Longhorn V2 SPDK tuning for Kata Cloud Hypervisor (kata-clh) on EEVDF kernels. Pinned spdk_tgt reactor threads to CPU 1 (v2DataEngineCPUMask: "0x2") in deploy/k8s/longhorn-v2/values.yaml and added a cubepod-spdk-sched-idle systemd timer + 95% per-reactor cpu.max cap in deploy/k8s/longhorn-v2/prep-node.sh so Linux 6.6+/7.0 EEVDF per-CPU kworker/1:* workqueue flushes never stall volume detachments. See Kata & Block Storage.
  • podd HTTP Range streaming & gateway empty-phase handling. Added 206 Partial Content Range support for file downloads in crates/podd and preserved empty initial PodBox phases as provisioning in Gateway resolveSandbox.

Fixes

  • Egress proxy Host/URL mismatch SSRF hardening (pkg/egress/proxy.go). Enforced matching Host headers, request URL hosts, URL schemes, and TLS SNI across explicit ServeHTTP (GET & CONNECT), TransparentHTTPHandler, and serveMITMTLS before any upstream request or secret exchange occurs.
  • Controller status persistence, Fork/Reset rollback, and WarmPool cleanup (pkg/controller/reconciler.go, kubeclient_crd.go). Persisted initial PodBox CRD status via UpsertPodBox on creation, preserved ResetRootFS generation/PVC progress across ensureEgressSecretsLocked and EnsurePod failures, rolled back failed cold creates and ForkFrom claims while preserving deterministic persistent VolumeKey workspace PVCs, deleted failed warm pods before PVCs to prevent kubernetes.io/pvc-protection hangs, stopped retries on deleted PodWarmPool CRs, and sanitized SyncFromKube WarmPool label selectors with SanitizeLabelValue.
  • Kata MicroVM RLIMIT_NOFILE clamping (crates/podd). Clamped inherited 1073741824 RLIMIT_NOFILE limits under kata-clh down to 65536 soft / 1048576 hard at podd startup and child command launch to prevent FD-closing CPU spin in guest daemons such as start-stop-daemon.

Before upgrading

No Kubernetes CRD schema fields changed in 0.5.0 (if upgrading from 0.4.0 or earlier, apply CRDs first: kubectl apply -f deploy/helm/cubepod/crds/).

Upgrade gateway, controller, egress, and podd injector images together to v0.5.0 via the Kubernetes & Helm deployment guide, and update client SDKs (pip install -U cubepod==0.5.0 / npm install cubepod@0.5.0). Clusters running Longhorn V2 on Linux 6.6+/7.0 should also re-run deploy/k8s/longhorn-v2/prep-node.sh and apply the updated v2DataEngineCPUMask: "0x2" setting per Kata & Block Storage.

GitHub Release · Full changes since 0.4.2

English changelog · 中文更新日志


Pull requests and contributors

What's Changed

Other Changes

  • Sync PodBox status, clean failed PVCs, and wire CubePlex cbxref egress MITM/CA by @xfgong in #60
  • chore(release): prepare CubePod v0.5.0 by @xfgong in #61

Full Changelog: v0.4.2...v0.5.0

CubePod v0.4.2

Choose a tag to compare

@github-actions github-actions released this 14 Nov 17:13
136457d

CubePod 0.4.2

Features and improvements

  • E2B-style OpenAPI taxonomy & concise sidebar labels. Reorganized cubepod-v1.yaml into 7 resource groups (Sandboxes, Commands, Files, Desktop & Panels, Templates, WarmPools, and System) and shortened all 52 operation summary titles to crisp action labels while preserving detailed explanations in description.
  • Interactive API Reference theme & dark/light sync. Updated the Interactive API Reference (ScalarApiPage) to synchronize with Starlight's Oxide Copper dark and Light A themes, adding an inline Dark/Light toggle and unified monochrome brand SVG logos.
  • CubePlex Agent Stack & Brain-Hands Decoupling landing refresh. Added the three-layer CubePlex → CubeLoop → CubePod stack diagram and Brain-Hands Decoupling narrative to the landing page, Introduction, and README, alongside a one-click helm install GHCR OCI quick-install command in the Hero and Kubernetes & Helm guide.
  • Automated release consistency & changelog validation. Added scripts/check-version-consistency.sh and scripts/release-notes.py to enforce single-semver synchronization across Cargo, Go, OpenAPI, Helm charts, Python/TypeScript SDKs, and bilingual release notes in CI.

Fixes

  • Documentation typography & UI polish. Fixed active sidebar item text contrast in light and dark themes, increased Markdown table cell horizontal padding, aligned Hero dual-pane headers, fixed simulator log styling, and added an HTTP clipboard fallback for copy buttons.

Before upgrading

No Kubernetes CRD schema fields changed in 0.4.2. If upgrading from 0.4.0 or earlier, still apply the CRDs first (kubectl apply -f deploy/helm/cubepod/crds/).

Upgrade cubepod-controller, cubepod-gateway, cubepod-egress, and cubepod-podd together to v0.4.2 via the Kubernetes & Helm deployment guide, and update client SDKs (pip install -U cubepod / npm install cubepod@0.4.2).

GitHub Release · Full changes since 0.4.1

English changelog · 中文更新日志


Pull requests and contributors

What's Changed

Other Changes

  • chore(release): prepare CubePod v0.4.2 by @xfgong in #59

Full Changelog: v0.4.1...v0.4.2

CubePod v0.4.1

Choose a tag to compare

@github-actions github-actions released this 14 Nov 05:55
0a359ca

CubePod 0.4.1

Features and improvements

  • Deterministic volumeKey workspace persistence. Pass volumeKey when creating a sandbox to bind a deterministic /workspace PVC (PodBox.spec.volumeKey) that persists across sandbox delete and recreate cycles. Supported across the Gateway API, Kubernetes Controller, Python SDK, and TypeScript SDK.
  • Ordered egress policy rules. Configure ordered allow / deny host and wildcard rules via networkPolicy.egress on PodBox and POST /sandboxes, enforced consistently across the Gateway, Controller, and Zero-Trust Egress proxy.
  • Empty-body archive-sync. POST /files/archive-sync in podd, Gateway, and the Python SDK now accepts empty request bodies so callers can apply remove_paths cleanup without uploading a tar archive.
  • Bilingual documentation portal & Scalar API explorer. Added the English and Simplified Chinese Astro + Starlight documentation site at cubepod.cubeplex.ai with an interactive OpenAPI Explorer, auto-synced CRD and Helm Values references, and llms.txt / llms-full.txt bundles.

Fixes

  • CRD & policy action normalization. Added volumeKey and networkPolicy.egress fields to the PodBox CRD schema and normalized egress rule actions in the Gateway and egress policy evaluator.

Before upgrading

Apply the updated Kubernetes CRDs before running helm upgrade, because Helm does not update files under crds/ on upgrade and PodBox adds spec.volumeKey and spec.networkPolicy.egress:

kubectl apply -f deploy/helm/cubepod/crds/

Upgrade cubepod-controller, cubepod-gateway, cubepod-egress, and cubepod-podd together to v0.4.1 via the Kubernetes & Helm deployment guide, and update client SDKs (pip install -U cubepod / npm install cubepod@0.4.1).

GitHub Release · Full changes since 0.4.0

English changelog · 中文更新日志


Pull requests and contributors

What's Changed

  • feat(website): add bilingual Astro + Starlight docs site and Scalar API explorer by @xfgong in #56
  • Support volumeKey persistence, ordered egress rules, and empty-body archive-sync by @xfgong in #57
  • Prepare CubePod v0.4.1 release by @xfgong in #58

Full Changelog: v0.4.0...v0.4.1