diff --git a/docs/reference/architecture.mdx b/docs/reference/architecture.mdx index 3c115bf65c2..515686c5a02 100644 --- a/docs/reference/architecture.mdx +++ b/docs/reference/architecture.mdx @@ -90,7 +90,13 @@ In both Docker-driver modes, the sandbox is a Docker container, not a Kubernetes The in-container `/tmp/nemoclaw-gateway-local` marker is written only by entrypoint paths that actually launch an in-container gateway. Terminal runtimes may not write it. NemoClaw does not treat sandbox environment hints such as `OPENSHELL_DRIVERS` as authoritative for gateway ownership. -Legacy non-Docker-driver installs still use the k3s-based gateway path; the diagram below shows the standard Docker-driver topology. +Legacy non-Docker-driver installs still use the k3s-based gateway path. +In that topology, the `openshell-cluster-nemoclaw` container runs an embedded k3s cluster that includes the OpenShell gateway, an `agent-sandbox-controller` workload, and a Kubernetes custom resource definition named `sandboxes.agents.x-k8s.io`. +Each NemoClaw sandbox appears as a `Sandbox` custom resource in the `openshell` namespace, and the controller reconciles that resource into the corresponding agent pod. +For example, `kubectl get sandboxes.agents.x-k8s.io -n openshell` inside the legacy cluster container lists the sandbox resources, and `kubectl describe pod -n openshell ` reports `Controlled By: Sandbox/`. +That Kubernetes resource path is a legacy implementation detail of the non-Docker-driver gateway, and it is not present in the default Docker-driver topology. + +The diagram below shows the standard Docker-driver topology. ```mermaid graph TB diff --git a/docs/reference/commands.mdx b/docs/reference/commands.mdx index 773ff48565c..629342476f3 100644 --- a/docs/reference/commands.mdx +++ b/docs/reference/commands.mdx @@ -1650,6 +1650,7 @@ The classifications are `blocked-by-policy`, `missing-approval`, `unsupported`, Add a host alias to the sandbox pod template. Use this when a sandbox needs a stable LAN-only name, such as a local SearXNG or internal model endpoint, without dropping to `docker exec` and `kubectl patch`. Host alias commands use the legacy Kubernetes gateway `Sandbox` resource path. +In that older topology, the `openshell-cluster-nemoclaw` container runs an embedded k3s cluster with a `sandboxes.agents.x-k8s.io` custom resource definition, and an `agent-sandbox-controller` reconciles each `Sandbox` resource into the agent pod. They are not supported on Docker-driver or VM-driver sandboxes because those drivers do not run the gateway cluster container that owns this resource. ```bash