Components
- Hub API server and dashboard. The API server accepts user, CLI, and dashboard requests, applies authorization and validation, and coordinates work on the connected cluster. The React dashboard is served by that same API-server binary.
- PostgreSQL. The hub stores organizations, application definitions, releases, encrypted credentials, and the latest status it presents through the API and dashboard.
- Spoke agent. Each connected cluster runs the
stackdome-agentoperator in thestackdome-control-planenamespace. It watches Stackdome custom resources and reconciles them into Kubernetes workloads and supporting objects. - Kubernetes custom resources. These carry desired application state from the hub to the agent and observed status back to the hub. They are an implementation interface, not the object model users author directly.
Reconciliation paths
Desired state: hub to cluster
- A user, coding agent, or automation submits an application change through the CLI, dashboard, or REST API.
- The hub validates and stores the application definition and release state in PostgreSQL.
- The hub writes Stackdome custom resources into the organization’s connected cluster.
stackdome-agentreconciles those resources into the Kubernetes objects that run the application.
Observed state: cluster to hub
- The agent observes builds, rollouts, networking, storage, and readiness in the cluster.
- It writes conditions and status onto the relevant custom resources.
- controller-runtime watchers in the hub observe status changes and update PostgreSQL.
- The API, CLI, and dashboard return the recorded release and resource state.
Released or Failed tells you how reconciliation finished.
Implementation mapping
The dashboard and Stackfile stay application-facing. The agent performs the low-level mapping:
Kubernetes remains the runtime source of truth for live workloads. PostgreSQL is the hub’s source of truth for users, application definitions, releases, encrypted connection data, and the status exposed through Stackdome interfaces.
Cluster boundary and permissions
The hub reaches a connected cluster with a service-account URL, CA certificate, and token. The single-server installer creates those credentials instackdome-control-plane and grants the specific cluster-scoped operations required for Stackdome resources, workload namespaces and Secrets, logs, metrics, and supporting infrastructure. See Install Stackdome for the exact local role and its security warning, or Connect compute for the manual credential path.
Stacks and resources
Return to the application model you use in the CLI, Stackfile, and dashboard.