@@ -61,6 +61,48 @@ delete sandboxes already created from it. Templates without startup tuning do no
6161create pools. Operators can disable pooling with
6262[ ` openshell.drivers.kubernetes.warm_pool.enabled ` ] ( /how-it-works/gateways/configuration ) .
6363
64+ ### Identify Warm Pods
65+
66+ A warm Kubernetes Sandbox resource and its workload Pod use the physical name
67+ ` warm-<session-id> ` . Claiming the runtime preserves both names and the Pod UID.
68+ The dedicated supervisor Pod also keeps its original name. Use the Sandbox
69+ resource's labels to find the logical sandbox created through OpenShell.
70+
71+ | Resource | Label | Meaning |
72+ | --- | --- | --- |
73+ | Sandbox | ` openshell.ai/warm-pool ` | Immutable template ID identifying the originating pool. Remains after claim. |
74+ | Sandbox | ` openshell.ai/sandbox-id ` | Logical sandbox ID, added when the claim binds the resource. |
75+ | Sandbox | ` openshell.ai/sandbox-name ` | Logical sandbox name, added when the claim binds the resource. |
76+ | Sandbox | ` openshell.ai/sandbox-workspace ` | OpenShell workspace, present before and after claim. |
77+ | Pod | ` openshell.ai/boundary-pair ` | Physical runtime pairing used by network policies. Remains unchanged at claim. |
78+ | Pod | ` openshell.ai/boundary-role ` | ` workload ` or ` supervisor ` for dedicated runtime pairs. |
79+
80+ List resources originating from warm pools, including claimed sandboxes:
81+
82+ ``` shell
83+ kubectl get sandboxes.agents.x-k8s.io -A -l openshell.ai/warm-pool \
84+ -L openshell.ai/warm-pool,openshell.ai/sandbox-id,openshell.ai/sandbox-name,openshell.ai/sandbox-workspace
85+ ```
86+
87+ An absent Sandbox ` openshell.ai/sandbox-id ` label means the resource has not yet
88+ been bound to a logical sandbox. It does not prove that the runtime is ready or
89+ available; preparation, reservation, or retirement may be in progress.
90+
91+ Use the namespace and physical name from that output to inspect the workload Pod.
92+ Its boundary-pair value also selects its dedicated supervisor Pod:
93+
94+ ``` shell
95+ kubectl -n < namespace> get pod < physical-name> \
96+ -L openshell.ai/boundary-pair,openshell.ai/boundary-role
97+ kubectl -n < namespace> get pods -l openshell.ai/boundary-pair=< pair-value> \
98+ -L openshell.ai/boundary-role
99+ ```
100+
101+ On a dedicated supervisor Pod, ` openshell.ai/sandbox-id ` initially contains the
102+ physical session ID and changes to the logical sandbox ID at claim. Use the
103+ Sandbox resource for logical name and workspace lookup. A shared supervisor
104+ serves multiple sandboxes and is not selected by a workload's boundary-pair label.
105+
64106## Create a Sandbox from a Template
65107
66108``` shell
0 commit comments