Clusters are used to distribute traffic, support databases, store files and business applications in the network. Deployment of a fault-tolerant cluster based on Kubernetes ensures horizontal scaling of all system components. Kubernetes is the platform for automatic management of containerized applications, deployment and scaling automation.
IMPORTANT. A fault-tolerant cluster based on Kubernetes is compatible with Foresight Mobile Platform 23.12 or later.
Before deploying a fault-tolerant cluster based on Kubernetes see the system requirements.
Main stages of schema of deployment of fault-tolerant cluster based on Kubernetes:
NOTE. If at least 350 GB is allocated on each work node in the root section, skip this step.
Installing additional components for the Kubernetes cluster.
Installing Foresight Mobile Platform using one of the ways:
If issues arise during deployment of a fault-tolerant cluster based on Kubernetes, see the Solving Possible Issues on Use of Kubernetes section.
Generalized scheme of fault-tolerant cluster architecture deployment:

The scheme displays the work of main cluster nodes and their interaction with work nodes and incoming requests via special services with load balancer support.
Scheme of providing control cluster part fault-tolerance:

NOTE. Each main node in the cluster contains the following processes and components:
• kube-apiserver. Single control point for cluster. The kubectl command interacts directly via API.
• kube-controller-manager. Process of cluster status control via controllers.
• kube-scheduler. Process of task planning on all available cluster nodes.
• etcd. Database based on the key-value pairs that stores information about statuses of all cluster components.
If Foresight Mobile Platform 23.12 or later is used, it requires Kubernetes 1.25, 1.26, 1.27, 1.28, or 1.29.
Operating system:
Ubuntu 22.04 or later.
Astra Linux SE 1.7.5, 1.7.6, 1.8.1.
Rocky Linux 8.6.
Number of CPU: 4.
The table contains minimum recommended system requirements for mobile platform work depending on node role:
| Node role | Number of nodes | RAM volume | HDD |
| Main node | Virtual environment : 3 Bare Metal: 3 |
16 GB | 40-60 GB |
| Work node | Virtual environment: 4 Bare Metal: 4 |
16 GB | 250-500 GB |
The minimum number of servers (work nodes) is determined by the fact that the installation archive of Foresight Mobile Platform contains three sets of containers with databases that require additional copies. To avoid the split-brain error, the number of nodes should be one more than the minimum required number of nodes. Therefore, in this case four work nodes are required for installation.
Installing Foresight Mobile Platform from Docker image local storage requires a single computer for primary cluster initialization and loading mobile platform images to local storage.
See also:
Installing and Setting Up Foresight Mobile Platform | Cluster Configuration