Ready=False is not always a failure. Agent Sandbox reports every non-running state as
Ready=False, so Radar reads the reason, in the controller’s own order (reconcile errors first, then the suspension, then Pod state). One reading in pkg/health serves Issues and AI summaries; the UI mirrors it, and pkg/health/testdata/agent_sandbox.json pins both:
- Settled (neutral, never an Issue): Suspended once the
Suspendedcondition says the Pod is gone, Expired (SandboxExpired, a claim’sClaimExpired), Finished (PodSucceeded). - In progress (amber): Suspending (
SandboxSuspendedwhile the Pod still terminates), Provisioning (DependenciesNotReady, a claim’sSandboxNotReadyandSandboxCreatePending), Binding (AdoptionConflict), Terminating, the scheduler’s reason whenPodScheduledis False (orange), and Updating when the condition was recorded for an older generation. These raise no Issue for 30 minutes; one that lasts longer is reported, because a sandbox whose Pod or Service is never created has no other finding to fall back on. The clock starts at the resume when theSuspendedcondition records one, since Kubernetes keeps Ready’s transition time across a reason change. A suspension has no reliable start time, so Suspending never raises an Issue of its own; a Pod that never terminates is reported as a stuck deletion. - Attention (orange, an Issue):
ReconcilerError(the controller retries it), and Suspension blocked (Issue reasonPodNotOwned) when a suspension is refused because the Pod the controller tracks for the Sandbox is not owned by it. Ready keeps its ordinary suspension reason then, so Radar reads the refusal from theSuspendedcondition, adds what unblocks it (remove that Pod, the one itsagents.x-k8s.io/pod-nameannotation names or else the one with its own name, or recreate the Sandbox under another name), and reports it at once: nothing is being torn down, so waiting changes nothing. - Failed (red, an Issue): a hard container failure the controller names in its message (
ImagePullBackOff,CrashLoopBackOffand the like),PodFailed,InvalidConfiguration,MultiplePods, and a claim’sTemplateNotFound,WarmPoolNotFound,InvalidMetadata,EnvVarsInjectionRejected,VolumeClaimTemplatesErrorandSandboxMissing.

Sandboxes: each status names the reason Agent Sandbox reports, colored by how much it needs attention
Resolved, sits per sandbox class in status.sandboxClasses[], where Radar’s generic condition handling never looks. A class that does not resolve to a usable SandboxConfig (SandboxConfigNotFound, SandboxConfigDeleting, SandboxClassMismatch, DefaultConfigNotFound) is an Issue, since Substrate keeps ready workers running on the last resolved config but cannot start new ones. Severity follows one rule: critical (red) when workers are wanted and none is ready; otherwise a warning (orange). A condition recorded for an older generation is reported as such rather than trusted, and a spec edit is not read as recovery. pkg/health holds this reading for AI summaries, and pkg/health/testdata/substrate_workerpool.json pins the UI to it. Workers that are not ready are left to the worker Deployment the pool owns. A Deployment that is never created has nothing to report it, and Substrate’s controller only logs a rejected create (an admission policy, or a ServiceAccount or Deployment it may not create), so Radar raises a critical DeploymentNotCreated Issue when a pool wants workers, every class has resolved on the current generation, and 10 minutes later there is still no status.selector and no worker Pod. The pool’s status then reads Provisioning stalled (red), from the same rule in pkg/health, so the badge and the Issue agree. A SandboxConfig stuck deleting because a pool still uses it is attributed to ate-controller (finalizer sandboxconfig.ate.dev/workerpool-protection).
Worker Pods. A Pod labelled ate.dev/worker-pool gets a note in its drawer: Substrate places actors on it in turn, so its logs, metrics and restarts are shared by every actor it has hosted.
Agent Substrate health (Prometheus). With Prometheus connected, a WorkerPool, and a Node that runs Substrate’s atelet, get an Agent Substrate section at the top of their Overview tab (capacity on a WorkerPool, snapshot uploads on a Node) and charts on their Metrics tab, from the metrics Substrate exports. The section gives the verdict, a sentence saying what it means for someone who has not met Substrate before, and the facts behind it. They are aggregates: Substrate keeps actor names out of metric labels.

A WorkerPool short of workers: the verdict, what it means, and the facts behind it
Facts are uncolored. An hourly fact is computed from the data Prometheus holds for the hour, so a gap in collection makes the crash count cover less than the hour; the fact’s tooltip says so. One Radar could not read says Unavailable with the reason (the same reason its chart gives), never 0, and so does an hourly fact whose own population (successful resumes, all resumes, crashes) stopped reporting: the hour’s number would count only the time before. One whose series exist but recorded nothing for this pool or node says None. When the verdict cannot be read it says Unknown with the reason, as it does when workers report a state Substrate’s registry does not define.
Only Short of workers needs the controller’s
ate.workerpool.desired_workers. Substrate’s bundled Prometheus does not collect the controller’s metrics, so without it the pool is still judged Full, Free slots or No schedulable workers from the API server’s counts, and the section’s sentence says the shortfall cannot be judged and why. An info mark carries the note when Radar could not confirm the series belong to this cluster.
- Names. The table uses the names Substrate’s exporter and Prometheus’s OTLP receiver produce by default (
ate_actor_crashes_total,*_seconds_bucket, labels such asate_workerpool_name). Radar also reads the dotted UTF-8 names Google Managed Prometheus keeps, with or without unit suffixes (ate.actor.lifecycle.operation.duration_bucket, labels such asate.workerpool.name), and copies dotted labels to underscore names before grouping, since GMP rejects dotted labels in abyclause. It finds which names Prometheus holds by listing metric names over the range (a partial list is an error). Each component (ateapi,atecontroller,atelet) is resolved on its own, so an API server scraped under underscore names next to a controller pushing dotted names over OTLP reads correctly. When Prometheus holds more than one name for a component’s series (both spellings, or with and without unit suffixes), the one with series for this pool or node within this cluster is read. Two spellings with series refuse that component’s charts, and two suffix styles of one instrument with series refuse only the charts reading that instrument: after a pipeline changes how it names metrics, that lasts until the range no longer spans the change, and for good if the component is exported twice. Native histograms read as not found. - Empty and sparse charts. A chart whose first sample comes well after the range starts says so (“No samples before 08:33”), rather than leaving most of the plot blank unexplained. A WorkerPool with no metrics whose status reports 0 worker Pods says so, instead of explaining metric names.
- Nodes. atelet’s series are attributed by the
nodelabel a Kubernetes scrape adds, as in Substrate’s reference Prometheus configuration. Series without it are reported as not attributable rather than guessed from current Pods. A Node whose cluster serves no WorkerPools, or that runs no atelet, shows no section. - Accuracy. Each family’s cluster identity is checked over the chart’s range (ambiguous and mismatched identities are reported, not charted). A partial or warning answer from Prometheus is an error, not a chart. A family that is summed or averaged and arrives through more than one scrape job is reported instead of being counted twice, and copies that differ only by an HA Prometheus pair’s or a deduplicating store’s replica label (
prometheus,prometheus_replica,replica,__replica__) are collapsed. On a Node, duplicate scrape jobs are judged within that node’s series. A chart that combines two families is drawn only when both resolve to the same cluster identity, and a Node’s attribution is decided within this cluster’s series. - Access.
GET /api/prometheus/substrate/workerpools/{namespace}/{name}requiresgeton that WorkerPool;GET /api/prometheus/substrate/nodes/{name}requiresgeton Nodes. A Node’s verdict and charts count every actor Substrate places on that node, including actors of WorkerPools in namespaces the caller cannot read: they show counts, timings and overdue state, never actor or pool names, the same policy as the Node’s CPU and memory charts. Both takerange(10m…14d, default1h; an unknown value is served as1hand the response’srangesays so), are read-only, and are advertised by thesubstrateHealthMetricscapability, so Radar Hub asks only a Radar that serves them.
api.kagent.dev kinds are grouped in the sidebar but otherwise use generic discovery; the chart does not collect them by default. The drawer’s conditions list shows each condition as recorded, so a settled sandbox’s Ready=False keeps its red mark there. Topology shows the generic owner edges only (WorkerPool → Deployment → Pods; Sandbox → Pod).
Chart RBAC. rbac.crdGroups.agentSandbox (agents.x-k8s.io, extensions.agents.x-k8s.io) and rbac.crdGroups.agentSubstrate (ate.dev) grant read access and are on by default. Sandboxes and SandboxTemplates carry Pod templates, which can hold inline environment values; with authentication on, users see them in namespaces they can read, like the Pods and Deployments there.