Clusters
Understand hosted and attached clusters in Akua
A Cluster is the Kubernetes cluster an Install runs on. Akua supports two kinds: a hosted Cluster, where Akua runs the control plane, and an attached Cluster, which is a Kubernetes cluster you already run.
Choose a cluster type
| Hosted | Attached | |
|---|---|---|
| Control plane | Run by Akua in a Region | Yours |
| Servers | You add servers: your own, or an Akua server | Yours |
| How it connects | Automatic | You install the Akua cluster agent with a Helm command |
| Akua’s access | The whole Cluster | The whole cluster or only the namespaces you list |
Hosted clusters
A hosted Cluster is Kubernetes as a Service (KaaS). Akua runs the control plane, and you join servers to it. A server is either a Linux machine you run or an Akua server. On each hosted Cluster, Akua places a baseline: a tunnel connector and a private ingress gateway for public URLs, local-path storage, and a metrics server.
Attached clusters
An attached Cluster is a Kubernetes cluster you run, wherever it runs. You install the Akua cluster agent with a one-time Helm command and choose what it can manage. Akua installs Packages onto the cluster, and you keep operating the control plane, the nodes, and Kubernetes upgrades.
Cluster state
The dashboard and the API report one state for each Cluster:
| State | Meaning |
|---|---|
provisioning | The hosted control plane is starting. |
awaiting_node | Join a server to the hosted Cluster. |
awaiting_agent | Install the cluster agent, or wait for it to connect. |
configuring | Akua is placing the baseline. |
ready | The Cluster accepts Installs. |
degraded | Something needs attention; read the Cluster’s conditions. |
disconnected | The agent stopped calling Akua. Workloads keep running. |
failed | Setup failed; the conditions say why. |
deleting, deleted | The Cluster is being removed or is gone. |
A Cluster also reports the capabilities it offers: https_ingress, persistent_volumes, and resource_metrics.
Installs and deletion
An Install runs a Package on a Cluster. A Cluster that still has Installs can’t be deleted (the request fails with 409), so delete the Installs first. Deleting a hosted Cluster also deletes its Akua servers; servers you joined yourself keep running.