top of page

MiniKube Installation On CentOS

ree


Step-by-Step: Install Minikube on CentOS


1. Prerequisites


Before installing Minikube, ensure:
A VM driver like Docker, VirtualBox, or KVM is installed
You have kubectl installed.

2. Install kubectl (Kubernetes CLI)


Your system supports virtualization (check with lscpu | grep VT)


Step 1: Download latest kubectl


curl -LO "https://dl.k8s.io/release/$(curl -Ls https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"


Step 2: Make it executable

chmod +x kubectl


Step 3: Move to /usr/local/bin

sudo mv kubectl /usr/local/bin/


Step 4: Verify

kubectl version --client



3. Install a VM Driver (Docker is recommended)

Install Docker:


sudo yum install -y yum-utils device-mapper-persistent-data lvm2



sudo yum install -y docker-ce docker-ce-cli containerd.io


sudo systemctl start docker

sudo systemctl enable docker



Verify:


docker version


4. Install Minikube



sudo rpm -Uvh minikube-latest.x86_64.rpm


Verify:


minikube version



5. Start Minikube

Now you're ready to launch Minikube:


minikube start --driver=docker


6. Test It

Check node status:


kubectl get nodes

Comentários

Avaliado com 0 de 5 estrelas.
Ainda sem avaliações

Adicione uma avaliação
bottom of page