Creating a Kubernetes cluster
A Kubernetes cluster is made up of a set of machines called node's that run containerized applications. The cluster must have at least one worker node.
Work nodes host pod's, which are application components. The control plane manages the worker nodes and pods in the cluster. In industrial environments, the control plane is typically run on multiple computers, and the cluster is typically deployed on multiple nodes to ensure fault tolerance and high reliability.
To create a cluster, go to the "Containers" section of the MCS control panel and click the "Add" button.
Then you should select the desired development environment:
- Dev environment (development)
- Staging environment (pre-release environment)
- Production (combat or live environment, for such an environment at least 3 master nodes are recommended)
After clicking the "Next step" button, you need to select a cluster configuration:
The creation wizard reflects the following configuration fields:
|Virtual machine type Master||Head node configuration - the number of CPUs and RAM of the controlling machine ("Master"). For productive environments, a minimum configuration of CPU = 2 RAM = 4Gb is recommended.|
|Number of Master nodes||The number of control machines (machines of the "Master" type). For production environments, a minimum of 3 master nodes is recommended.|
|Disk size on the Master-node, GB||Disk volume on control Master nodes.|
|Node virtual machine type||The type of configuration for a worker node is the number of CPU and RAM.|
|Number of Node||The number of working nodes.|
|Disk size on Node-node, GB||Disk space for worker nodes.|
|Disk type for Master and Node-nodes||Disk type (HDD / SSD).|
|Kubernetes version||The version of Kubernetes that will be installed on the cluster nodes.|
|Net||The network where the cluster will be deployed, if created. If there is no network, then the cluster will create its own private network.
You can also choose to create a cluster without external IP (shadowport technology). To create such a cluster, you need to contact support through the feedback form indicating the project ID.
|Cluster name||Cluster name.|
|Virtual machine key||If a key pair has already been created, it is recommended to specify it. You need to make sure that the file is saved from it. You can also create a new key pair - it is needed to connect to the cluster nodes via ssh.|
The next step will ask you to select the number of Node.
It will take some time to complete the creation of the cluster.