# Prepare the cluster

Provide a Kubernetes cluster with the version, capacity, node limits, storage classes, load balancer and optional GPU nodes the Katonic installer checks for.

Katonic installs into a Kubernetes cluster you provide and run. The installer does not create nodes, storage or a container network on a cluster you already have; it checks for them, and stops if they are missing. This stage is the infrastructure team's list.

**Who can use it:** your infrastructure team, with cluster-admin rights. Nothing here needs a product role.

## Prerequisites

- The edition, sizing tier and cloud provider from [Plan the installation](/security/installation-journey/plan-the-installation).

## Kubernetes

| Requirement | Detail |
| --- | --- |
| Version | 1.30 or later. The GPU inference control plane installs by default and needs 1.30; the installer itself only refuses below 1.28, so do not rely on it to catch this |
| Nodes | Linux, amd64, with processors at the x86-64-v2 level or newer |
| Container network | Any. Under the sovereign profile, and on AI Cloud where tenants are isolated by network policy, choose one that enforces network policies |
| Load balancer | A cloud load balancer, or MetalLB or an equivalent on premises, so the ingress gateway gets an address |
| What you do not install | The service mesh, the certificate manager and the policy engine: the installer adds them, unless your platform team already runs a mesh or certificate manager and you declare them yours in the configuration |

## Capacity

The installer adds up the allocatable CPU and memory on ready, schedulable nodes and refuses to start below the floor for your tier:

| Tier | CPU | Memory |
| --- | --- | --- |
| `poc` | 16 cores | 32 GiB |
| `starter` | 40 cores | 64 GiB |
| `business` | 64 cores | 128 GiB |
| `enterprise` | 96 cores | 192 GiB |
| `flagship` | 128 cores | 256 GiB |

These floors are the least the platform starts on, with one environment. Each further environment adds about 20 cores and 40 GiB at `starter`. On AI Cloud every organisation runs its own stack on top, so plan from Sizing and prerequisites, not from the floor.

## Node limits

Every node must allow:

- `vm.max_map_count` of at least 262144.
- A hard open-files limit of at least 500000. A lower soft limit only warns.

Set them in your node image or with your node configuration tool so that new nodes get them too.

## Storage classes

| Class | Access | Required | Used for |
| --- | --- | --- | --- |
| Platform class | Read-write-once | Yes, as the cluster default or named in `platform_storage_class` | The platform's own volumes |
| Shared class | Read-write-many | Yes, named in `datalake.storage_class_name` | The shared data lake, 100 GiB by default |
| Database class | Read-write-once | Optional, named in `database.storage_class_name` | The in-cluster databases, 50 GiB by default |

Most on-premises default classes are read-write-once only. For the shared class use one that many nodes can mount at once: Azure Files, Amazon EFS, Google Filestore, CephFS, Longhorn, an NFS class, Portworx or similar. The installer proves it by mounting one volume on two different nodes, so the cluster needs at least two schedulable nodes.

Plan the volume space per tier as well. At `starter` the platform's object store and the observability store each take 128 GiB and metrics 50 GiB, on top of the data lake and database volumes; the space grows with the tier.

## GPU nodes, if you serve models

GPUs are needed only for models served in the cluster and GPU document processing. For a GPU pool:

- Install the NVIDIA GPU Operator and drivers yourself, in the namespace `gpu-operator`. The platform looks for it there.
- To keep GPU workloads on those nodes, give them a label and a taint and name them in the `scheduling` block of the configuration, under `gpu_node_selector` and `gpu_tolerations`.

## Dedicated nodes, if you want them

No labels or taints are required. To keep the platform on its own nodes, label and taint them and set the `scheduling` block: `enabled: true`, a `node_selector` and `tolerations`.

## Verify

```bash
kubectl version
kubectl get nodes -o wide
kubectl get storageclass
```

- The server version is 1.30 or later and every node is Linux, amd64 and Ready.
- The shared class and the platform class are listed.
- The final mount test runs at install time; see [Check readiness](/security/installation-journey/check-readiness).

## Related

- [Prepare network, DNS and certificates](/security/installation-journey/prepare-network-dns-and-certificates)
- Sizing and prerequisites
- Network, nodes and outbound access
- GPU Management

Source: https://docs.katonic.ai/security/installation-journey/prepare-the-cluster
