First of all, let me introduce some concepts about these technologies.
It's a versatile and flexible Gnu/Linux distribution, focused on minimalism and simplicity. In my opinion the most important feature of this distro it's called Rolling Release, this will allow you to have the most recent version of your apps. For more info go to the Arch Linux Homepage.
It's a virtualization platform to deliver software as packages called containers. Containers can communicate with other containers through channels. This tool can be used to simulate the production server configs in your local machine.. More info in Docker homepage.
Kubernetes is an open source software for automating the deployment, scaling and handling of containerized applications. It works with a large list of container tools such as Docker, Podman, etc. This software is commonly used as Platform As A Service (PAAS) and Software As A Service (SAAS) in cloud computing. More info in Kubernetes Homepage
Let's get started.
Sync the database and update dependencies [It's not really necessary, but why not?]
[wilo@developer ~]$ sudo pacman -Syyu
Install minikube, and other dependencies
[wilo@developer ~]$ sudo pacman -S kubectl minikube libvirt qemu dnsmasq ebtables dmidecode
Additionally we assing the current user to the libvirt group
[wilo@developer ~]$ sudo usermod -aG libvirt $(whoami)
If you want to the libvirt service loads when you start your OS.
[wilo@developer ~]$ sudo systemctl enable libvirtd
Now we start the libvirt service.
[wilo@developer ~]$ sudo systemctl start libvirtd
Once started the service, we check the status if everything it's ok.
[wilo@developer ~]$ sudo systemctl status libvirtd
And you see the status like this.
Well..., Then we set the Kvm2 provider in minikube
[wilo@developer ~]$ minikube config set driver kvm2
And finally start it.
[wilo@developer ~]$ minikube start
Now, we probe a some kubernetes commands on our terminal using kubectl.
And yeap! the installation process was successfully!, congrats! 🎉.