Creating Clusters
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.
bash <(curl -sL https://pmkft-assets.s3-us-west-1.amazonaws.com/pf9ctl_setup)
pf9ctl config set
pf9ctl prep-node
Once this step completes successfully, your cluster is ready to use!
BareOS Multi-master
The steps to create a multi-master 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 onto each node.
bash <(curl -sL https://pmkft-assets.s3-us-west-1.amazonaws.com/pf9ctl_setup)
pf9ctl config set
pf9ctl prep-node
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 AWS Cloud Provider Managementand 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 providerAWS Cloud Provider Managementand then navigate to Kubernetes > Infrastructure > Clusters and click the Add Cluster 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.
pf9ctl bootstrap [flags] <cluster-name>