What happened
The CNCF has published details of OpenKruise Agents v0.6.0, a sub-project for running AI agent sandboxes at scale on Kubernetes. The release adds its own traffic data plane, with L4 and L7 egress control, MCP tool-level rules and credential injection from Kubernetes Secrets. It also adds a warm-pool autoscaler and automatic pause and resume for idle sandboxes.
Why it matters
If your team lets AI agents run code, that code is a new kind of workload. It may be steered by prompt injection towards internal services or cloud metadata endpoints. The release treats this as a core concern: egress is captured inside the pod and decided by a policy engine, rather than left to each pod.
The write-up also flags some policy behaviours worth knowing in any similar setup. Once a policy selects a pod, traffic matching no allow rule is denied. A rule with a missing peer field is skipped rather than denying anything, so a typo can quietly weaken a policy. And if you forget to allow cluster DNS, every hostname rule looks broken.
For a team without a platform team, the other point is cost and moving parts. The project grew from six to twelve CRDs and from four to six components. That is real operational weight, so it is worth deciding deliberately whether you need it, rather than adopting it because it is new.
What to do this week
- List where agents or generated code run in your clusters today, and what network access each one has.
- Test whether those workloads can reach internal services and your cloud metadata endpoint. If they can, fix that first, with or without OpenKruise.
- Check where upstream API keys live. Prefer keeping them out of agent code and out of the sandbox environment.
- If you evaluate OpenKruise Agents, trial it in a non-production cluster and read the policy semantics above before writing any rules. Test that a deliberately broken rule fails safe.
- Review idle sandboxes and warm pools for cost. Pausing idle ones is a sensible goal, but measure your own usage before committing.
Need a hand?
Locking down egress, secrets and agent workloads is the kind of work our Security & Compliance team does with small engineering teams. We can review your current setup and help you decide what to adopt and what to skip. Read more on our Security & Compliance page. The first call is free and is with an engineer.
Source: OpenKruise Agents v0.6.0: Leaping ahead in agent Sandbox security and automation
Related service: Security & Compliance