Skip to main content

AgentPod

One agent pod per person: the person's identity-provider subject, their last-known groups, the agent image, the model endpoint and an idle stop. Nova creates it from the Agent panel; the operator renders the ServiceAccount, the Pod and the egress-only NetworkPolicy.

Spec​

FieldTypeRequiredDefaultDescriptionConstraints
spec.groupsarray of stringNoThe person's groups as Nova last saw them, copied into the resource at creation so the operator never calls the identity provider. Optional and bounded.max 32
spec.idleStopMinutesintegerNo60Minutes without a call before the pod stops. Never 0: a person's pod always has an end.min 1, max 1440; format int32
spec.imagestringYesThe agent harness image: ghcr.io/stardelt/agent:<tag>, ghcr.io/stardelt/agent@sha256:<64 lower-case hex> or the pinned form ghcr.io/stardelt/agent:<tag>@sha256:<64 lower-case hex>.min 1, max 512; pattern ^ghcr[.]io/stardelt/agent(:[A-Za-z0-9_][A-Za-z0-9._-]{0,127}(@sha256:[0-9a-f]{64})?|@sha256:[0-9a-f]{64})$
spec.modelEndpointstringYesName of a ModelEndpoint in the same namespace: the model the pod reaches through Nova.min 1, max 63; pattern ^[a-z0-9]([a-z0-9-]*[a-z0-9])?$
spec.ownerstringYesThe person's identity-provider subject: Keycloak's sub or Entra's oid. The pod acts as this person and nobody else.min 1, max 128; pattern ^[A-Za-z0-9][A-Za-z0-9._@|-]*$

Status​

FieldTypeRequiredDefaultDescriptionConstraints
status.lastUsedAtstring (nullable)NoThe last heartbeat Nova sent, RFC 3339. The idle stop reads it.
status.messagestring (nullable)No
status.observedGenerationinteger (nullable)Noformat int64
status.phasestringNo""Pending, Running, Stopped or Failed.
status.podNamestring (nullable)Nometadata.name of the Pod the operator rendered.
status.podUidstring (nullable)Nometadata.uid of that Pod. Nova binds an agent pod's projected token to it: the token carries the UID of the pod the kubelet minted it for, so a pod that merely took the recorded name is refused.

Validation rules​

  • the agent image is ghcr.io/stardelt/agent, by tag, by digest, or both
  • spec.groups entries are 1 to 64 letters, digits and ., _, -, starting with a letter or digit
  • spec.groups names each group once