# Kubernetes Cluster Pre Requisites

This article describes the generic node level prerequisites for creating any type of Kubernetes cluster using PMK.

## Supported Clouds

Platform9 supports the following Public Clouds:

* AWS - Create and manage full lifecycle of EKS clusters at scale using PMK, import existing EKS clusters into PMK, or create clusters using AWS EC2 instances using PMK
* Azure - Create native PMK clusters using PMK provider for Azure and/or import AKS clusters
* Google - Import GKE clusters

## Supported Operating Systems

Regardless of whether you are creating a Kubernetes cluster on-premises or in a public cloud using PMK, PMK supports the following operating systems for the nodes of a Kubernetes cluster.

* CentOS 7+ (64-bit)
* RHEL 7+ (64-bit)
* Ubuntu LTS 18.04 (64-bit)
* Ubuntu LTS 20.04 (64-bit)

## System Requirements

These requirements ensure that your Kubernetes cluster nodes are provided with enough resources to run core Kubernetes services, monitoring and other required services that PMK deploys, and your containerized applications that will run on top of Kubernetes.

## Test / Proof of Concept (PoC) Clusters

To create a simple **test** Kubernetes cluster using PMK, each node that is to be part of the cluster should have:

**CPU** Minimum: 4 vCPUs

**RAM** Minimum: 16 GB of RAM

**Storage**

* Minimum Size: 30 GB
* Free Space: 20 GB

## Production Clusters

To run a **production grade** Kubernetes cluster, each node that is to be part of the cluster should have:

**CPU** 1 CPU Core per 4 GB of RAM.

**RAM** Minimum of 16 GB of RAM

**Storage**

* Minimum Size: 60 GB
* At least 40 GB of free disk space. 20 GB of disk space will be used by the Operating System and Kubernetes components.
* Make sure that the primary / OS volume has at least 8 GB of unallocated storage space. This would be the default path used by etcd on your master nodes, unless you explicitly specify a different path for etcd storage.
* Make sure that the /var/lib directory exists on a file system with at least 30 GB of free disk space. This path is used by your containers running on Kubernetes for their local disk / storage.

**Networking**

* At least one physical (or VLAN backed) NIC with an IP address.

This type of configuration should be used to create a production cluster that you will use either for your CI/CD or to run production applications.

### Production Cluster Best Practices

* A production Kubernetes cluster should be created with at least 3 master nodes.
* Best practice is to not run your workloads on the masters in a production cluster, but to have separate worker nodes in the cluster with sufficient capacity to run your workloads


---

# 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.platform9.com/managed-kubernetes/5.7/getting-started/kubernetes-cluster-pre-requisites.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.
