> ## Documentation Index
> Fetch the complete documentation index at: https://docs.akua.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Clusters

> Understand how clusters work in Akua for deploying and managing your applications

<Frame>
  <img className="block dark:hidden" src="https://mintcdn.com/akua-1dce587a/KB6u5PJRNHAXrgro/images/heros/clusters-light.svg?fit=max&auto=format&n=KB6u5PJRNHAXrgro&q=85&s=b73092a3b594f437a005237068327e46" alt="A cluster split by ownership: Akua's managed control plane schedules workloads into slots on your worker machines" width="1536" height="864" data-path="images/heros/clusters-light.svg" />

  <img className="hidden dark:block" src="https://mintcdn.com/akua-1dce587a/KB6u5PJRNHAXrgro/images/heros/clusters-dark.svg?fit=max&auto=format&n=KB6u5PJRNHAXrgro&q=85&s=78e4211987b9cba0392acdf902b9b1b1" alt="A cluster split by ownership: Akua's managed control plane schedules workloads into slots on your worker machines" width="1536" height="864" data-path="images/heros/clusters-dark.svg" />
</Frame>

A cluster is a group of one or more machines that are managed by Kubernetes to deploy your applications and keep them running. Clusters are where you run applications for your team, deploy products to customers, and host your software.

Akua provides **<Tooltip headline="KaaS" tip="KaaS (Kubernetes as a Service) is Akua's fully managed Kubernetes infrastructure. Akua handles the control plane and all Kubernetes operations on your workers, while you maintain control over infrastructure choices and billing.">Kubernetes as a Service (KaaS)</Tooltip>** where Akua manages the <Tooltip headline="Control Plane" tip="The control plane is the management layer of a Kubernetes cluster. It manages the cluster's state, schedules workloads, and handles API requests. Akua manages the control plane for you in managed clusters.">control plane</Tooltip> and handles all Kubernetes operations on your <Tooltip headline="Worker Nodes" tip="Worker nodes are the compute machines that run your applications in a Kubernetes cluster. They execute the workloads scheduled by the control plane and provide the actual computing resources.">worker nodes</Tooltip> (joining, configuring, maintaining), while you stay in control of your infrastructure and billing.

## Choosing your cluster type

Akua offers two ways to set up your clusters: managed clusters where Akua handles all Kubernetes operations, or imported clusters where you bring your existing Kubernetes infrastructure. Both approaches let you deploy applications for your team, sell products to customers, and host your software, but managed clusters remove the operational complexity of running Kubernetes yourself.

### Managed clusters

Managed clusters are fully provisioned and maintained by Akua. Akua's **<Tooltip headline="KaaS" tip="KaaS (Kubernetes as a Service) is Akua's fully managed Kubernetes infrastructure. Akua handles the control plane and all Kubernetes operations on your workers, while you maintain control over infrastructure choices and billing.">Kubernetes as a Service (KaaS)</Tooltip>** provides fully managed infrastructure where Akua manages the control plane and handles all Kubernetes operations on your workers, while you maintain control over your infrastructure choices and billing.

You add your own workers to the cluster, and Akua handles joining, configuring, and maintaining them. This option is ideal for most users who want to focus on building and selling software without the operational overhead of managing Kubernetes.

<AccordionGroup>
  <Accordion title="Why is control plane management so difficult?">
    Managing a Kubernetes control plane requires expertise in multiple complex areas. You need to handle certificate management and rotation to keep your cluster secure, manage etcd cluster operations including backup and recovery to protect your data, configure the API server with proper security settings, tune the controller manager and scheduler for optimal performance, set up network policies and CNI configuration for proper networking, and establish monitoring, logging, and observability to track cluster health.

    The control plane also needs dedicated infrastructure including an extra IP address, load balancing, and failover mechanisms to ensure high availability. All of this is infrastructure complexity that stands between you and running your applications.

    Akua handles all of this for you, so you can focus on building and selling software instead of managing infrastructure operations.
  </Accordion>
</AccordionGroup>

**Key benefits:**

<AccordionGroup>
  <Accordion title="Infrastructure management">
    * **Zero operational overhead** - Akua manages the control plane
    * **Automated provisioning** - Get from zero to production-ready cluster in minutes
    * **Self-healing infrastructure** - Automatic recovery from component failures
    * **24/7 monitoring** - Proactive issue detection and resolution
    * **Automatic updates** - Security patches and Kubernetes version upgrades handled for you
  </Accordion>

  <Accordion title="Reliability and security">
    * **Security hardening** - Built-in security best practices and regular updates
    * **High availability** - Multi-zone control plane for maximum uptime
  </Accordion>

  <Accordion title="Business benefits">
    * **Multi-cloud support** - Use any provider or mix providers
    * **Streamlined onboarding** - Developer-friendly experience reduces time-to-market
    * **Cost optimization** - Pay only for compute resources you actually use
    * **Seamless scaling** - Add or remove workers as your needs change
  </Accordion>
</AccordionGroup>

[Learn how to create a managed cluster →](/clusters/create)

### Imported clusters

Imported clusters allow you to connect your existing Kubernetes infrastructure from any provider (EKS, GKE, AKS, self-managed, or others). This is suitable if you already have an investment in Kubernetes, require specific custom configurations, or prefer to maintain your current cluster management approach.

* **Any Kubernetes cluster** - EKS, GKE, AKS, self-managed, or others
* **Cluster management** - Control plane and worker operations are managed by your cloud provider or yourself, depending on your cluster type
* **Akua handles product installs** - Akua deploys products to your imported cluster, but cluster operations remain outside Akua's management
* **Existing investment** - Leverage current Kubernetes infrastructure

[Learn how to import a cluster →](/clusters/import)

<Tip>
  **New to Kubernetes?** Akua's KaaS is designed to be beginner-friendly while remaining powerful enough for enterprise workloads. Akua's managed approach removes the learning curve typically associated with Kubernetes operations.
</Tip>

<Note>
  KaaS integrates with all other Akua features including marketplace deployment, user management, billing, and monitoring. It's designed to provide a complete platform experience rather than just infrastructure.
</Note>

## How clusters work with products

Akua automatically handles product installs when customers complete purchases. The platform synchronizes your Package resources with the destination cluster based on the customer's selected region. Each product install gets its own dedicated <Tooltip headline="Namespace" tip="A namespace is a Kubernetes mechanism for organizing and isolating resources within a cluster. Each product install gets its own namespace for security and isolation between different customer installs.">namespace</Tooltip> to avoid conflicting resources and provide security and isolation between different customer installs. When installs fail or customers cancel, Akua automatically cleans up all associated resources to keep your infrastructure tidy.

<Note>
  **Resource strategy:** Use shared clusters when you control the software. For customers running custom code (container images, game server plugins), use dedicated machines or clusters. Alternatively, use container runtimes like gVisor or Firecracker VMs for stronger isolation without creating new clusters.
</Note>

## Cluster suspension

Managed clusters with no attached compute are automatically suspended to save resources. When suspended, the cluster's control plane is paused — it consumes no compute resources but all configuration, certificates, and state are preserved on disk.

### What happens during suspension

* The control plane stops running (no API server, no scheduler)
* All cluster data is preserved — nothing is deleted
* The cluster appears as **Suspended** in your dashboard
* You are not charged for control plane compute while suspended

### Suspending a cluster

Suspend a running cluster from the dashboard, or call the [suspend endpoint](/api-reference/clusters/suspend-cluster) from the API. A cluster can only be suspended when it has no active machines — delete or suspend its machines first.

### Resuming a cluster

When you request a machine for a suspended cluster, Akua resumes the cluster automatically before provisioning, which takes about 15–25 seconds. You can also resume a cluster manually from the dashboard or the [resume endpoint](/api-reference/clusters/resume-cluster).

### Auto-suspend

Free-tier clusters are automatically suspended when all of these conditions are true:

* No Akua-managed machines attached to the cluster
* No healthy worker nodes in the cluster (nodes disconnected for more than 15 minutes are considered inactive)

Akua checks these conditions every 15 minutes. Pro-tier clusters are not automatically suspended.

<Info>
  Suspension preserves everything about your cluster: installed applications, RBAC rules, secrets, and configuration. When you resume the cluster, it picks up exactly where it left off.
</Info>

## Related topics

<CardGroup cols={2}>
  <Card title="Create a managed cluster" icon="server" href="/clusters/create">
    Set up a managed cluster.
  </Card>

  <Card title="Add workers" icon="microchip" href="/clusters/add-workers">
    Connect compute capacity to your cluster.
  </Card>

  <Card title="Import a cluster" icon="arrow-right-to-bracket" href="/clusters/import">
    Connect your Kubernetes infrastructure.
  </Card>

  <Card title="Workspaces" icon="briefcase" href="/workspaces">
    Organize your clusters and products.
  </Card>
</CardGroup>
