Skip to main content
This document describes the installation of Kubernetes, Docker or Containerd, Mongodb applications on RHEL (Red Hat Enterprise Linux) 9.x operating systems. It can also be applied to Rocky Linux 9.x distributions.
If possible, always use the latest version of your chosen operating system and install the latest versions of servers and packages to be installed with internet access.

File to Download

1) Installing Containerd and Required Packages

runc conflictsIf containerd service is not found after installations are completed, package conflicts can be checked with the following command.
If there is a package conflict:

2) Installing Kubernetes Packages

Add the following content:

3) Installing Kubernetes Images

You can decide which package to use for Overlay Network installation and install only that, it is recommended to install flannel by default.
Although Kubernetes uses pause 3.10, containerd stays at 3.8 and this situation may cause the cluster not to start during kubeadm init operation. To fix this, you can change the pause version to 3.10 in the configuration file in /etc/containerd.

4) Kubeadm Init

Since this Node is the first Node in the cluster, it will be selected as Kubernetes Control Plane.
To include worker node in cluster: You can run the following command on master node to get the command to include in cluster as output.

5) Creating Flannel

Confirm that kube-flannel.yml coming from the .tar file you downloaded at the beginning of the document is found using the command.

6) Installing Apinizer Images

7) Installing MongoDB

Performs installations found in mongo_rpms directory.
You can continue from MongoDB Installation on Red Hat Operating System document for MongoDB configurations after installation. (You can skip installation step 2.1.)

8) Elasticsearch Installation

After moving the installation file from its directory to /opt/elasticsearch/ folder, you can perform configurations from Elasticsearch Installation on Red Hat Operating System page.

9) Apinizer Installation

You can perform Apinizer installation from Apinizer Installation and Configuration page.