# Cluster Requirements

## Kubernetes version

Running Akamas requires a cluster running Kubernetes version 1.24 or higher.

## Resources requirements

Akamas can be deployed in three different sizes depending on the number of concurrent optimization studies that will be executed. If you are unsure about which size is appropriate for your environment we suggest you start with the small one and upgrade to bigger ones as you expand the optimization activity to more applications.

The tables below report the required resources both for requests and limits that should be available in the cluster to use Akamas.

The resources specified on this page have been defined by considering using a dedicated namespace to run only Akamas components. If your cluster has additional tools (E.g. a service mesh or a monitoring agent) that inject containers in the Akamas pods we suggest either disabling them or increasing the sizing considering their overhead. Also if you plan to deploy other software inside the Akamas namespace and resource quotas are enabled you should increase the size considering the resources required by the specific software.

#### **Small**

The small tier is suited for environments that need to support up to 3 concurrent optimization studies

<table><thead><tr><th width="249.33333333333331">Resource</th><th width="141.39014373716634">Requests</th><th>Limits</th></tr></thead><tbody><tr><td>CPU</td><td>4 Cores</td><td>15 Cores</td></tr><tr><td>Memory</td><td>28 GB</td><td>28 GB</td></tr><tr><td>Disk Space</td><td>70 GB</td><td>70 GB</td></tr></tbody></table>

#### Medium

The medium tier is suited for environments that need to support up to 50 concurrent optimization studies

<table><thead><tr><th width="249.33333333333331">Resource</th><th width="141.39014373716634">Requests</th><th>Limits</th></tr></thead><tbody><tr><td>CPU</td><td>8 Cores</td><td>20 Cores</td></tr><tr><td>Memory</td><td>50 GB</td><td>50 GB</td></tr><tr><td>Disk Space</td><td>100 GB</td><td>100 GB</td></tr></tbody></table>

#### Large

The large tier is suited for environments that need to support up to 100 concurrent optimization studies. If you plan to run more concurrent studies, please contact Akamas support to plan your installation.

<table><thead><tr><th width="249.33333333333331">Resource</th><th width="141.39014373716634">Requests</th><th>Limits</th></tr></thead><tbody><tr><td>CPU</td><td>10 Cores</td><td>25 Cores</td></tr><tr><td>Memory</td><td>60 GB</td><td>60 GB</td></tr><tr><td>Disk Space</td><td>150 GB</td><td>150 GB</td></tr></tbody></table>

## Storage requirements

The cluster must define a *Storage Class* so that the application installation can leverage *Persistent Volume Claims* to dynamically provision the volumes required to persist data.

For more information on this topic refer to [Kubernetes' official documentation](https://kubernetes.io/docs/concepts/storage/persistent-volumes/).

## Permissions

To install and run Akamas cluster level permissions are not required. This is the minimal set of namespaced rules.

```yaml
- apiGroups: ["", "apps", "policy", "batch", "networking.k8s.io", "events.k8s.io/v1", "rbac.authorization.k8s.io"]
  resources:
    - configmaps
    - cronjobs
    - deployments
    - events
    - ingresses
    - jobs
    - persistentvolumeclaims
    - poddisruptionbudgets
    - pods
    - pods/log
    - rolebindings
    - roles
    - secrets
    - serviceaccounts
    - services
    - statefulsets
  verbs: ["get", "list", "create", "delete", "patch", "update", "watch"]
```

## Networking

Networking requirements depend on how users interact with Akamas. Services can be exposed via *Ingress* or [using *kubectl* as a proxy](https://kubernetes.io/docs/tasks/access-application-cluster/port-forward-access-application-cluster/). Refer to [Accessing Akamas](/akamas-docs/3.5.0/installing/kubernetes/accessing-akamas.md) for a more detailed description of the available options.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.akamas.io/akamas-docs/3.5.0/installing/kubernetes/prerequisites/cluster-requirements.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
