This document will demonstrate how to fulfill the prerequsites for kubeadm from scratch. It's meant for Linux (RHEL), but you might find similar options if you're using a different Linux distribution.
Install Docker Engine, containerd, and Docker Compose with latest version
Start and enable docker service
Check Docker Status
Set systemd as cgroupdriver
Reload daemon
Restart docker service
Container runtimes configuration
Since the default config.toml file contains only a partial configuration of containerd, we need to export the full list of settings for further overrides.
Backup the original containerd configuration file.
Export the default setting of containerd configuration