Kubernetes Administration Course (Installing Kubernets in local using minikube): Part 1

This courses is created for bigneers in kubernetes installation and Administation

Firt we need to start installation from local, So it can be done easily and have better opproach toward learning kubernetes, No one want to burn their bucks for nothing!!.

This course is designed for ubuntu or linux based OS. I am assuming you have famirality with linux command , docker , git, package installation, linux security , CI/CD Tool line Jenkins , virtualbox .

Ubuntu — V18.04

Follow below command to to install minikube in ubuntu

Step 1:

Updating Ubuntu

sudo apt-get update -y 

Step 2:

Installing MiniKube

curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 sudo install minikube-linux-amd64 /usr/local/bin/minikube

Step 3:

Installing Vertualbox

sudo apt install virtualbox virtualbox-ext-pack

Step 4:

Starting Minikube

minikube startminikube dashboard 

Step 5:

Insalling KubeCtl

curl -LO https://storage.googleapis.com/kubernetes-release/release/`
curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
kubectl version -o json
Output (In My Case Below is output. In Your case output values can be changes based on version you install){
"clientVersion": {
"major": "1",
"minor": "21",
"gitVersion": "v1.21.0",
"gitCommit": "cb303e613a121a29364f75cc67d3d580833a7479",
"gitTreeState": "clean",
"buildDate": "2021-04-08T16:31:21Z",
"goVersion": "go1.16.1",
"compiler": "gc",
"platform": "linux/amd64"
"serverVersion": {
"major": "1",
"minor": "20",
"gitVersion": "v1.20.2",
"gitCommit": "faecb196815e248d3ecfb03c680a4507229c2a56",
"gitTreeState": "clean",
"buildDate": "2021-01-13T13:20:00Z",
"goVersion": "go1.15.5",
"compiler": "gc",
"platform": "linux/amd64"

Above Steps if followed properly you can get the kubectl working with MiniKube. As packages used in above version changes rapidly with help of some great people contriution toward opensource. I have provided source link for this article.

Article Url


MiniKube on Ubuntu (They have great way to intallation where you can have more granullar controlled over version you want to use)

This Article Written by Nitesh Kumar Singh

See You in Another Part