0.7.0
CubePod 0.7.0
Section titled “CubePod 0.7.0”Features and improvements
Section titled “Features and improvements”- E2B Template API GA, S3 Context Store & BuildKit mTLS/HA (
#114). PromotedE2BTemplateAPI(featureGates.e2bTemplateAPI) to defaulttrue, added an S3 template build context store (templateBuild.contextStore.backend: "s3") socubepod-controllercan run multi-replica HA withtemplateBuild.enabled: true, and added BuildKitStatefulSetHA + mTLS support (templateBuild.buildkit.tls). See Kubernetes & Helm Deployment and Templates Guide. - HTTP/2 (
h2) ALPN Negotiation in Zero-Trust Egress (CEP-0020,#107). Addedh2+http/1.1ALPN negotiation oncubepod-egress’s selective HTTPS MITM listener, preserving:authority/SNI validation (421), header transforms,cpodref_exchange (403on unauthorized targets), streaming flushes, andcubepod_egress_mitm_alpn_totalmetrics. - Kubernetes-Native Sandbox Events & Webhooks HA (
#115). Wiredevents.backend: "k8s"across Helm, Gateway, and Controller usingSandboxWebhookCRs withstatus.deadLetters(up to 50 entries), companionSecretstorage for HMAC signing keys,PodBoxcore/v1Events, anddeploy/monitoring/webhook-alerts.yaml. - Desktop Neko WebRTC Packaging,
browser_tab_follow& Unified GHCR Images (#116,#138). Packaged Neko WebRTC and GStreamer runtime plugins directly inimages/desktop, implementedbrowser_tab_follow(/opt/cubepod/desktop/browser_tab_follow.pyand Python SDK helpers), unifiedimages/sandbox-base, de-brandedimages/desktopUID/GID1000user handling, and addedcubepod-sandbox-baseandcubepod-desktopto 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 withdeploy/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), andPrometheusRulealerts (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, addeddeploy/k8s/longhorn-v2/volumesnapshotclass.yaml, non-disruptive in-guest Katavirtio-blkverification (TestK8sKataVirtioBlkGuestVerification), and multi-hour concurrent soak tests (make test-soak). - Reproducible
kind,Compose&KataDual-SDK E2E Pipelines (#111,#117,#118,#140,#141). Added isolatedkind, Docker Compose, and KVM Kata (kata-clhandkata-fc) E2E suites running the official Python and TypeScript E2B SDKs, plus bilingualREADMEupdates. See Reproducible kind E2E and Docker Compose.
- Controller & Gateway Lifecycle State-Machine Hardening (
#124,#129,#133,#134,#135,#137,#139). PreventedTerminatedPodBoxinstances from being resurrected, syncedFailedphases to the reconciler and cleared stale leases, rejected lease/timeout/refresh operations on terminated sandboxes, enforcedPodIPreadiness before claimingPodWarmPoolstandbys or retiring templates, reconciled provisioningPodBoxes when Pods become ready, deep-copied templates returned byGetPodTemplate, and standardized E2B JSON error payloads on sandbox API failures. - Panel HMAC Secret & Target URL Security (
#126,#128). Required a validCUBEPOD_PANEL_SECRETatcubepod-gatewaystartup (auto-generated and reused viapanel-secret.yamlin Helm or persisted bygateway-entrypoint.shin Compose) and ignored client-suppliedtargetUrlvalues 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 containerCAP_SYS_ADMINin no-pivot mode, and wired isolated Docker filesystem sandboxes.
Known issues
Section titled “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 withEIO: I/O error(EXT4-fs (vdb): unable to read superblock) due to avirtio-mmiodrive hotplug race. See issue #120. - Firecracker + E2B volume mount persistence (
#122). Kata Firecracker lacksvirtio-fsfilesystem sharing, so official E2BvolumeMounts(currently staged as filesystem directories viaShareFilehost-to-guest copy) do not write guest changes back to the volume across sandbox recreation onkata-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#120and#122are resolved. In CI, thekata-clhlane passes the full official Python and TypeScript E2B SDK suites with zero skipped tests.
Before upgrading
Section titled “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-gatewaynow refuses to start with an empty or placeholder secret. Online Helm installs/upgrades generate and reuse<fullname>-panel-secretautomatically whengateway.panelSecretis empty; GitOps /helm templatedeployments should setgateway.existingPanelSecret. featureGates.e2bTemplateAPIdefaults totrue:GET /templatesnow returns the E2BE2BTemplate[]array by default. SetfeatureGates.e2bTemplateAPI: falseto roll back to the legacy{"templates":[...]}wrapper.- Recommended Kata
RuntimeClass: If choosing between Firecracker and Cloud Hypervisor for Kata workloads, configureruntime.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 [email protected]).