Member-only story

Kubernetes cluster creation using Kubekey

9 min readMar 27, 2023

“Gratitude is an abstraction in life that creates Happiness. All we have to do is, use it more often and save the time we spend searching for happiness…”

Photo by Alexander Andrews on Unsplash

Creating and setting up a Kubernetes cluster in the native way is often not straightforward. The administrator usually uses kubeadm to set up and bootstrap the cluster. It involves multiple steps to install and configure. I had covered the steps in my below previous article — https://medium.com/geekculture/a-step-by-step-demo-on-kubernetes-cluster-creation-f183823c0411

I recently came across Kubekey, which is a product of a project called KubeShpere — a distributed operating system for cloud native applications using kubernetes as its kernel. Learn more about Kubesphere — Here.

It adds a level of abstraction for k8s cluster creation. We can create k8s cluster with a single command, passing the cluster node details in a yaml file as an argument. It eases the life of cluster administrator in a lot more ways than just cluster creation. We are going to discuss its features in this article and share my experience while using this tool.

Installation of kubekey binary is pretty straightforward as below.

root@asish-lab:~/lab/kubekey# curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -

--

--

Asish M Madhu
Asish M Madhu

Written by Asish M Madhu

I enjoy exploring various opensource tools/technologies/ideas related to CloudComputing, DevOps, SRE and share my experience, understanding on the subject.

No responses yet