minikube is an open-source tool, also a local Kubernetes focusing on making it easy to learn and develop for Kubernetes.
This tutorial will be helpful for beginners to install minikube on Ubuntu 20.04 LTS, Ubuntu 22.04.
minikube system requirements
- 2 CPU or more
- 2 GB Free memory
- 20 GB disk space
- Container or Virtual machine manager
minikube supported kubernetes features
- Enabling container Network Interface
- configMaps and secrets
How to Install minikube on Ubuntu
Step 1: Make sure the system is up to date.
sudo apt update -y && sudo apt upgrade -y
Step 2: Install the required dependencies
sudo apt install apt-transport-https curl wget -y
Step 3: Install Virtualbox Hypervisor
sudo apt install virtualbox virtualbox-ext-pack
Accept the license agreement during the VirtualBox ext pack installation and also accept the Virtualbox PUEL License.
Download minikube and Install minikube on Ubuntu
sudo dpkg -i minikube_latest_amd64.deb
Step 4: Verify the minikube installation
Install Kubectl on the system
curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl
Step 5: Make kubectl as an executable file and move it to the /usr/local/bin location
chmod 755 kubectl && sudo mv kubectl /usr/local/bin
Step 6: verify the Kubectl installation
kubectl version -o json
Start the minikube on Ubuntu 20.04 LTS / 22.04
Execute the below command using a non-root user to start the minikube .
From this tutorial, you have learned how to download and install minikube on Ubuntu 20.04 LTS and Ubuntu 22.04
Do let us know your comments and feedback in the comments section below.
If my articles on TipsonUNIX has helped you, kindly consider buying me a coffee as a token of appreciation.
Thank You for your support!!