KubeOpenCode v0.0.21
Highlights
Add default memory limits (512Mi request, 4Gi limit) for all Agent and Task pods to prevent unbounded memory growth from triggering node-level OOM. This was prompted by a production incident where an AI agent's opencode process consumed all node memory, causing a SystemOOM that took down the entire node.
New Features
-
Default memory limits for agent containers (#134): Agent Deployment pods and Task pods now automatically receive default resource requirements (
memory: 512Mirequest,4Gilimit) whenpodSpec.resourcesis not explicitly configured. This prevents a single runaway container from causing node-level OOM. Users can still fully override viapodSpec.resourcesin Agent or AgentTemplate spec. -
Graceful task termination on deletion (#133): ADR 0030 documenting the design for graceful task termination when Tasks are deleted.
-
Git context commit hash logging (#132): Git context init containers now log the resolved commit hash and ref for debugging purposes.
Bug Fixes
- RBAC: add update verb for server ClusterRole (#131): Fixed missing
updatepermission on the server ClusterRole for tasks.
Installation
# Helm install
helm install kubeopencode oci://quay.io/kubeopencode/helm-charts/kubeopencode \
--version 0.0.21 \
--namespace kubeopencode-system \
--create-namespace
# Or upgrade
helm upgrade kubeopencode oci://quay.io/kubeopencode/helm-charts/kubeopencode \
--version 0.0.21 \
--namespace kubeopencode-systemAll Changes
- chore: release v0.0.21 by @xuezhaojun in #134
Full Changelog: v0.0.20...v0.0.21