For large AI workloads, the network setup behind each sandbox can become a drag on expensive accelerators. GKE Dataplane V2 addresses that bottleneck by limiting how quickly pod labels create distinct network identities, helping agent sandboxes provision at high rates without giving up network policy controls.
The issue shows up in workloads with frequent pod churn, including reinforcement learning. Orchestrators may launch and remove thousands of isolated execution environments each minute, while research teams are targeting as many as one million concurrent code execution sandboxes. If network identity allocation slows pod startup, GPUs and TPUs can sit idle while infrastructure catches up.
Agent Sandbox provides lightweight isolation for these environments on GKE. For workloads with millions of concurrent idle sessions, Agent Substrate builds on the same foundations with higher density and sub-second state rehydration. The network layer is central to both: GKE Dataplane V2 uses eBPF-based networking to attach security identities to pods based on their labels.
Why dynamic labels strain identity allocation
Agent frameworks commonly add labels that change for every pod, such as an agent ID, timestamp, or claim UID. Dataplane V2 maps label sets to numeric identities so it can apply network security policy. When each sandbox has a unique label combination, it may need its own identity, increasing allocation work as pods arrive.
That process can briefly delay pod creation while the dataplane updates its eBPF maps. At larger scales, identity growth can also approach the cluster-wide ceiling of 65,536 network identities. The engineering challenge is to retain the labels needed for Kubernetes behavior while keeping incidental, high-cardinality metadata out of network identity calculations.
Keep descriptive metadata out of identity calculations
GKE’s approach is to distinguish labels that affect selectors and resource grouping from metadata that merely describes a pod. Fields that aren’t used for service selector matching or core grouping can move from the Pod’s Labels set to its Annotations set. Dataplane V2 calculates network identities from labels, so annotations preserve that metadata without creating a separate identity for every sandbox.
For dynamic labels that remain, administrators can configure Cilium label exclusion filters. The cilium-config-emergency-override ConfigMap in kube-system can specify rules such as !agents.x-k8s.io/sandbox-name-hash or !timestamp. These tell the dataplane to ignore those labels when calculating security identities. Filtering can also guard against high-cardinality labels introduced by a developer framework.
With those fields excluded, pods for the same agent type can share a Cilium identity while retaining network security controls. Google says this avoids linear identity growth and the 65,536-identity limit, supporting fully isolated agents at 300 sandbox launches per second with sub-second latency.
Agent Substrate pushes density further
Agent Substrate incorporates these Dataplane V2 recommendations and bypasses Kubernetes scheduling limits for workloads with particularly demanding scale and density requirements. In benchmark validation with 200,000 agents, it sustained 500 activations per second, with suspend and resume latency below 500 milliseconds. It can be deployed on existing GKE clusters, and its ability to rehydrate idle sessions is designed to reduce the compute cost of keeping large agent populations available.
A customer cited by Google has used Agent Substrate to orchestrate hundreds of thousands of secure environments across clusters, including spikes above 30,000 sandboxes on a single cluster. That example illustrates the operational stakes: high-density agent workloads depend on keeping startup overhead low as concurrency and pod churn rise.
For teams building these systems, the practical first step is to review which pod labels actually drive selectors and policy identity. Moving descriptive, rapidly changing fields to annotations or excluding them from identity calculation can reduce provisioning delays and preserve accelerator time as sandbox demand grows. Details are available for Agent Sandbox and Agent Substrate on GKE.