GKE Agent Sandbox features are configured with the following custom resource definitions (CRDs):
To learn more about the Agent Sandbox claim model and warm pools, see About GKE Agent Sandbox.
Sandbox specification
Sandbox represents an isolated environment for running workloads.
spec:
podTemplate: ...
replicas: ...
shutdownPolicy: ...
shutdownTime: ...
volumeClaimTemplates: ...
Spec
| Fields | |
|---|---|
|
required |
Template for Sandbox Pods. Follows the standard Kubernetes |
|
optional |
The number of ready Sandboxes you want to maintain in the warm pool. |
|
optional |
Configuration for shutdownPolicy. |
|
optional |
Configuration for shutdownTime. |
|
optional |
A list of standard Kubernetes |
Status
| Fields | |
|---|---|
|
optional |
List of status conditions for the resource. |
|
required |
The last time the condition transitioned from one status to another. |
|
required |
A human-readable message indicating details about the transition. |
|
optional |
The most recent generation observed by the controller. |
|
required |
The reason for the condition's last transition. |
|
required |
The status of the condition ( |
|
required |
The type of the condition. |
|
required |
The current number of ready Sandboxes in the warm pool. |
|
optional |
Configuration for selector. |
|
optional |
Configuration for service. |
|
optional |
Configuration for serviceFQDN. |
SandboxTemplate specification
SandboxTemplate defines the reusable configuration for creating Sandboxes.
spec:
networkPolicy: ...
podTemplate: ...
Spec
| Fields | |
|---|---|
|
optional |
Defines the network policy for the Sandbox, including ingress and egress rules. This aligns with standard Kubernetes NetworkPolicy semantics. |
|
optional |
List of egress rules to be applied to the selected Pods. |
|
optional |
List of ingress rules to be applied to the selected Pods. |
|
required |
Template for Sandbox Pods. Follows the standard Kubernetes |
Status
| Fields |
|---|
SandboxClaim specification
SandboxClaim requests a Sandbox from a given template, optionally satisfied immediately by a warm pool.
spec:
sandboxTemplateRef: ...
Spec
| Fields | |
|---|---|
|
required |
Reference to the |
|
required |
The name of the |
Status
| Fields | |
|---|---|
|
optional |
List of status conditions for the resource. |
|
required |
The last time the condition transitioned from one status to another. |
|
required |
A human-readable message indicating details about the transition. |
|
optional |
The most recent generation observed by the controller. |
|
required |
The reason for the condition's last transition. |
|
required |
The status of the condition ( |
|
required |
The type of the condition. |
|
optional |
Information about the provisioned Sandbox. |
|
optional |
The name of the allocated Sandbox. |
SandboxWarmPool specification
SandboxWarmPool maintains a set of ready Sandboxes to decrease startup latency for new claims.
spec:
replicas: ...
sandboxTemplateRef: ...
Spec
| Fields | |
|---|---|
|
required |
The number of ready Sandboxes you want to maintain in the warm pool. |
|
required |
Reference to the |
|
required |
The name of the |
Status
| Fields | |
|---|---|
|
optional |
The current number of ready Sandboxes in the warm pool. |