Professional Documents
Culture Documents
Imagine That, For Learning or Quick Testing Purpose: You Want To Access Kubernetes From Your Laptop
Imagine That, For Learning or Quick Testing Purpose: You Want To Access Kubernetes From Your Laptop
But, at same time, you don't want to put so much pressure on your
system resources such as CPU, RAM and Disk
srinathchalla@outlook.com
Minikube
Concept
Objectives
Concept
• Overview of Minikube
Review Demo
a. Download and Install - VirtualBox, Minikube, & Kubectl
b. Start Minikube
c. Test
srinathchalla@outlook.com
Minikube
Tool that makes it easy to run Kubernetes locally
srinathchalla@outlook.com
Review Demo
a. Download and Install VirtualBox, Minikube, & Kubectl
b. Start Minikube
c. Test
srinathchalla@outlook.com
Download & Install - Virtual Box, MiniKube & Kubectl
2. Download “minikube-windows-amd64”
C:\>mkdir Kubernetes
C:\>cd Kubernetes
https://github.com/kubernetes/minikube/releases
NOTE: kubectl and minikube shall appear as shown below in
C:\Kubernetes location
3. Download “kubectl”
C:\Kubernetes>curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.11.0/bin/windows/amd64/kubectl.exe
srinathchalla@outlook.com
Minicube (on Windows)
4. Start Minikube
C:\Kubernetes>minikube.exe start
Starting local Kubernetes v1.10.0 cluster...
Starting VM...
Downloading Minikube ISO
160.27 MB / 160.27 MB
[============================================]
100.00% 0s
Getting VM IP address...
Moving files into cluster...
Downloading kubelet v1.10.0
Downloading kubeadm v1.10.0
Finished Downloading kubeadm v1.10.0
Finished Downloading kubelet v1.10.0
Setting up certs...
Connecting to cluster...
Setting up kubeconfig...
Starting cluster components...
Kubectl is now configured to use the cluster.
Loading cached images from config file.
C:\Kubernetes>kubectl get no
NAME STATUS ROLES AGE VERSION
minikube Ready master 2m v1.10.0
srinathchalla@outlook.com
Minikube: Testing
C:\Kubernetes>minikube status
minikube: Running
cluster: Running
kubectl: Correctly Configured: pointing to minikube-vm at 192.168.99.100
C:\Kubernetes>minikube version
minikube version: v0.28.2
C:\Kubernetes>kubectl get po
NAME READY STATUS RESTARTS AGE
kubernetes-bootcamp-5c69669756-b5mk4 1/1 Running 0 48s
C:\Kubernetes>minikube stop
Stopping local Kubernetes cluster...
Machine stopped.
srinathchalla@outlook.com
Summary
Concept
• Overview of Minikube
Review Demo
a. Download and Install - VirtualBox, Minikube, & Kubectl
b. Start Minikube
c. Test
srinathchalla@outlook.com
Minikube
Demo
srinathchalla@outlook.com