Reference

Kubernetes resources

Role-owned workload assets and their runtime responsibilities.

Resource areaResponsibility
packages/agentos/runtime/kubernetes/baseShared StatefulSet and runtime container shape
packages/agentos/runtime/kubernetes/matePersistent-Mate specialization
packages/agentos/resources/roles/firstmate/kubernetesNamespace, service, identity, bindings and First-Mate patch
packages/agentos/resources/roles/secondmate/kubernetes/baseNamespace-neutral persistent domain-leader workload and identity
packages/agentos/resources/roles/secondmate/kubernetes/domainManaged Namespace, workload and First-Mate/Second-Mate authority split
packages/agentos/resources/crewmates/default/kubernetesNamespace-neutral bounded worker workload and identity
database/kubernetes/cloudnative-pgMinimal optional self-hosted database operand
services/ai-gateway/kubernetesOptional gateway Service, StatefulSet and NetworkPolicy

Kustomize composes the reviewed resources; documentation does not reproduce complete manifests. Render before apply and inspect the result against the target cluster.

The minimal profile may still place Agents in agentos. A persistent Second Mate normally uses one labeled domain namespace shared with its Crewmates. Reusable bases select no namespace; the owning per-Agent overlay selects it. Core PostgreSQL, AI Gateway and Collector clients use fully qualified agentos.svc.cluster.local addresses.

The minimal self-hosted database shape is one instance with no reviewed HA or backup policy. The database Skill discovers compatible current CloudNativePG and PostgreSQL releases; those external versions are not encoded as AgentOS release metadata.

First Mate’s cluster-admin overlay is explicit and separately approved. Base ServiceAccounts do not imply universal runtime control. The managed-domain Role allows a Second Mate to operate child workloads only in its namespace and withholds Secret and control-plane mutation. The domain NetworkPolicy isolates ingress without blocking Agent internet egress.

Last updated on