How To Install KubeSphere on Alma Linux 9

Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

Hello, friends. In this post, you will learn how to install KubeSphere on Alma Linux 9. Let’s go for it.

According to the tool’s website:

KubeSphere is a distributed operating system managing cloud-native applications with Kubernetes as its kernel. It provides a plug-and-play architecture for the seamless integration of third-party applications to boost its ecosystem.

KubeSphere is 100% open source, built and improved by the community. For this reason, although it is used in very complex environments, it is a community-inclusive creation at all times.

In addition to this, you can extend the functionality of it with modules and plugins. You will be able to choose between several, and it all depends on the needs of the moment.

Let’s install it.

Before we start…

Although the installation is not complex, it is always recommended that it is done from a fresh Alma Linux 9 installation to avoid conflicts with other packages.

As you might guess, we require root permissions, so it might be a limitation for some cases.

And of course, always update your system before you start.

sudo dnf update

Install KubeSphere on Alma Linux 9

After updating your system, you will have to install some packages needed to complete the tutorial.

To do so, run

sudo dnf install curl socat conntrack ebtables ipset tar

As you can imagine, KubeSphere is not present in the official Alma Linux 9 repositories, but this does not prevent you from installing it. To do so, first download KubeKey.

curl -sfL https://get-kk.kubesphere.io | VERSION=v3.0.7 sh -
Download KubeKey before installing KubeSphere
Download KubeKey before installing KubeSphere

You can replace 3.0.7 by the version number you want, and you can check it here.

Now assign it permission to run

chmod +x kk

Then we have KubeSpehre and you can use it to create a Kubernetes cluster.

sudo ./kk create cluster --with-kubernetes v1.24.2 --with-kubesphere v3.3.1 --container-manager containerd

It is important that in the previous command you set the versions of both Kubernetes and KubeSphere. In this case, I have opted for the former.

Creating a new cluster with KK
Creating a new cluster with KK

There will start the whole installation process that, in the first case, you will have to confirm.

Then, the entire process of downloading and configuring the tool will start. When it finishes, you will see a screen like this.

Kubesphere installed and deployed
Kubesphere installed and deployed

You will notice the login information and some recommendations.

All that remains is to open a web browser, go to the IP address of your server, and log in with the specified credentials.

KubeSphere alma linux
Kubesphere login screen

When you log in with the temporary password, you can then change it to your personal password.

Change Password
Change Password

You will then be able to access the KubeSphere main panel.

KubeSphere alma linux
Using KubeSphere

Conclusion

KubeSphere is an important utility for today’s infrastructures, so it is always good to know how to install it for any issue.

Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"
Angelo
Angelo
I am Angelo. A systems engineer passionate about Linux and all open-source software. Although here I'm just another member of the family.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest articles

Join us on Facebook