Checks Required Before Starting Installation
Before starting installations, make sure that the server’s hostname is not localhost.localdomain and that each one is unique (with hostname command). If it is, be sure to change it before starting operations.1) Operating System Configurations (To be performed on all servers)
2) Kubernetes Installation
2.1) Container Installation (To be performed on all Kubernetes servers)
The following steps are followed to prepare the system and install Docker before proceeding to Kubernetes installation.If you encounter errors like
package runc-1:1.1.4-1.module+el8.7.0+16520+2db5507d.x86_64 is filtered out by modular filtering, apply the following command line.2.2) Kubernetes Installation (On Master and Worker servers)
Kubernetes keys and repository addresses are loaded to the system, Kubernetes is installed and started.2.2.1) Bash Auto-Completion (Optional, On any Kubernetes Master Server)
This operation can speed up writing Kubernetes commands.2.2.2) Starting Kubernetes Control Plane (Master)
Execute the following command to download the container images required to create the Kubernetes Cluster. Since this Node is the first Node in the cluster, it will be selected as Kubernetes Control Plane.2.2.3) Setting User Configuration of Kubectl Command on Kubernetes Master Server (On Kubernetes Master Servers)
Required settings are made while on the user who will run kubectl commands.2.2.4) Install Kubernetes Network Plugin (On Kubernetes Master Servers)
We will use the Flannel network plugin in this guide. You can choose other supported network plugins. Flannel is a simple and easy way to configure a Layer-3 network structure designed for Kubernetes.2.2.5) If Master Server is Also Desired to be Used as Worker (Optional)
To add Worker task to MasterTo remove Worker task from Master
2.2.6) Registering Kubernetes Worker Servers to Master (On Kubernetes Worker Servers)
A token information is needed to connect the Worker server to Master. This will be visible in writing on the master node during this installation phase. But if it is skipped or if you want to view it again, the following command can be used. On Master Node2.2.7) Installation Check (On any Kubernetes Master Server)
If the Node created in addition to Master is also visible when the following code is run from Master, the installation has been completed successfully. If it does not transition from NotReady status to Ready status after two minutes, the problem should be examined with the"kubectl describe node <NODE_NAME>" command.

