Home
Cloud
Big Data
CI
Install
Samples
Java
Ubuntu
Maven
Archive
Kubernetes
|
Install MiniKube (version:
1.12.1
) (Ubuntu)
Notes
Prerequisites
Install MiniKube
Uninstall MiniKube
Notes
Please visit these pages for more details on how to install MiniKube:
https://kubernetes.io/docs/tasks/tools/install-minikube/
https://minikube.sigs.k8s.io/docs/start/
Prerequisites
Check if virtualization is supported on your host (verify that the output is non-empty):
$ grep -E --color 'vmx|svm' /proc/cpuinfo
flags : ... vmx ... ...
Please make sure you have installed kubectl and a Hypervisor (VirtualBox):
Install kubectl
Install VirtualBox
Install MiniKube
Check if any update:
$ sudo apt update
[Optional]
Install packages to allow apt to use a repository over HTTPS:
$ sudo apt install \ apt-transport-https \ curl
Download
MiniKube
:
$ curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
Make
minikube
executable:
$ chmod +x minikube
Install
minikube
in
/usr/local/bin/
:
$ sudo install minikube /usr/local/bin/
Verify
Minikube
:
$ minikube version
minikube version: v1.12.1 commit: 5664228288552de9f3a446ea4f51c6f29bbdd0e0-dirty
Uninstall MiniKube
Stop
minikube
(if already running):
$ minikube stop
✋ Stopping "minikube" in virtualbox ... 🛑 Node "minikube" stopped.
Delete Minikube VM:
$ minikube delete
🔥 Deleting "minikube" in virtualbox ... 💀 Removed all traces of the "minikube" cluster.
This will also delete
kubectl
configuration:
$ kubectl config view
apiVersion: v1 clusters: null contexts: null current-context: "" kind: Config preferences: {} users: null
[Optional]
Delete Minikube configuration folder:
$ rm -rf ~/minikube/
© 2010-2022
mti
tek