How to Install MiniKube on Ubuntu 22.04 / 22.10 Step-by-Step

Опубликовано: 24 Июнь 2026
на канале: LinuxTechi
1,606
23

In this video tutorial, we will demonstrate how to install and use minikube on Ubuntu 22.04/22.10.

Minikube is an open-source tool that allows you to run a single-node Kubernetes cluster locally on your machine. It's designed to make it easy for developers to experiment with Kubernetes without needing to set up a full-scale cluster.

With Minikube, you can run and manage Kubernetes objects like pods, services, deployments, and more, just as you would on a production cluster. Minikube also provides a number of useful features, such as add-ons for common services like the Kubernetes Dashboard and Ingress controller.

#howto #minikube #kubernetes #ubuntu

System Requirements for MiniKube
2 GB free RAM or more
2 CPUs or more
25 GB free disk space
Internet connectivity
Container or virtual machine manager, such as: Docker, QEMU, Hyperkit, Hyper-V, KVM, Parallels, Podman, VirtualBox, or VMware Fusion/Workstation

Installation Steps
1) Install minikube dependencies
$ sudo apt update
$ sudo apt install -y curl wget apt-transport-https

2) Download minikube binary
$ curl -LO https://storage.googleapis.com/miniku...
$ sudo install minikube-linux-amd64 /usr/local/bin/minikube

Verify minikube version
$ minikube version

3) Start Minikube
$ minikube start --driver=docker

If you want to start minikube with custom resources then run
$ minikube start --addons=ingress --cpus=2 --cni=flannel --install-addons=true --kubernetes-version=stable --memory=6g

Verify minikube status
$ minikube status

4) Install kubectl utility
$ curl -LO https://storage.googleapis.com/kubern...`curl -s https://storage.googleapis.com/kubern...`/bin/linux/amd64/kubectl
$ sudo mv kubectl /usr/local/bin/
$ sudo chmod +x /usr/local/bin/kubectl

Verify kubernetes cluster,

$ kubectl cluster-info
$ kubectl get nodes

5) Enable Minikube Addons like Dashboard & ingress controllers etc
$ minikube addons list

To Start and enable dashabord, run
$ minikube dashboard

It will start and enable the dashboard and open its GUI in the web browser,

To enable ingress controller,
$ minikube addons enable ingress

6) Test Kubernetes Cluster
$ kubectl create deployment minikube-nginx --image=nginx
$ kubectl get deployments minikube-nginx
$ kubectl expose deployment minikube-nginx --name=minikube-nginx-svc --type=NodePort --port=80
$ minikube service minikube-nginx-svc --url

6) Managing Minikube Cluster
$ minikube stop
$ minikube start
$ minikube delete

If you found the content useful, kindly do subscribe our channel and like the video.

Web Site : www.linuxtechi.com
Youtube Channel :    / @linuxtechi9979  

######################################
Thank you for Watching!!
######################################