# Create Cluster

In this section, you will learn how to create different on-premises Kubernetes cluster setups using the Platform9 Managed Kubernetes SaaS management plane or CLI options. Follow the articles below to learn how to create a single master, multi-master multi node cluster, an On-Prem cluster, Linux VM (virtual machine), or VMware OVA virtual machine.

## Creating a Cluster

### BareOS Single Master

The steps to create a BareOS single master are as follows.

**Step 1** – Login to the UI and navigate to the `Infrastructure > Clusters` tab and click on `+ Add Cluster`.

**Step 2** – In the cluster creation wizard, choose the “Single-Master Cluster” option. Next, give your cluster a name and select the Kubernetes version you'd like to deploy.

**Step 3** – Next, on the master node, download and configure the [PMK CLI](https://platform9.com/docs/kubernetes/pmk-cli-overview).

{% tabs %}
{% tab title="Bash" %}

```bash
bash <(curl -sL https://pmkft-assets.s3-us-west-1.amazonaws.com/pf9ctl_setup)
pf9ctl config set
pf9ctl prep-node
```

{% endtab %}
{% endtabs %}

Once this step completes successfully, your cluster is ready to use!

### BareOS Multi-master

The steps to [create a multi-master](https://platform9.com/docs/kubernetes/create-multi-master-cluster) BareOS is as follows.

**Step 1** – Login to the UI and navigate to the `Infrastructure > Clusters` tab and click on `Add Cluster`.

**Step 2** – In the cluster creation wizard, select the “Multi-Master Cluster” option. Next, give your cluster a name and select the Kubernetes version you'd like to deploy.

**Step 3** – Next, on the master node, download and configure the [PMK CLI](https://platform9.com/docs/kubernetes/pmk-cli-overview) onto each node.

{% tabs %}
{% tab title="Bash" %}

```bash
bash <(curl -sL https://pmkft-assets.s3-us-west-1.amazonaws.com/pf9ctl_setup)
pf9ctl config set
pf9ctl prep-node
```

{% endtab %}
{% endtabs %}

**Step 4** – After the process completes, these nodes will show under the `Nodes` tab in the PMK UI. Now, select at least 3 nodes as masters and then select the worker nodes. Finally, click the `Complete` button to deploy the cluster.

### AWS One-Click Cluster

First, add [auto$](https://github.com/platform9/pcd-docs-gitbook/blob/main/kubernetes/add-aws-cloud-provider/README.md)and then navigate to *Kubernetes* > *Infrastructure* > *Clusters* and click the Add Cluster button. Next, add the relevant cluster configuration information and then, click Create Cluster.

### AWS Advanced

?

### Azure One-click

First, add [Azure as a cloud provider](https://platform9.com/docs/kubernetes/add-azure-cloud-provider)[auto$](https://github.com/platform9/pcd-docs-gitbook/blob/main/kubernetes/add-aws-cloud-provider/README.md)and then navigate to *Kubernetes* > *Infrastructure* > *Clusters* and click the [Add Cluster](https://platform9.com/docs/kubernetes/create-cluster-azure-cloud) button. Next, add the relevant cluster configuration information and then, click Create Cluster.

### Azure Advanced

?

### Using the CLI – Bootstrap

Running the following bootstrap command with the CLI creates a single node cluster and utilizes the current node as the master. A further requirement of the command is the cluster name.

{% tabs %}
{% tab title="Bash" %}

```bash
pf9ctl bootstrap [flags] <cluster-name>
```

{% endtab %}
{% endtabs %}
