-
$ grep -E --color 'vmx|svm' /proc/cpuinfo
-
$ 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 --client
-
$ sudo apt install cpu-checker && sudo kvm-ok
- OR
$ grep -E '(vmx|svm)' /proc/cpuinfo
- OR
-
$ sudo kvm-ok
Output:
INFO: /dev/kvm exists KVM acceleration can be used
-
$ sudo apt install libvirt-clients libvirt-daemon-system qemu-kvm && sudo usermod -a -G libvirt $(whoami) && newgrp libvirt
-
$ sudo virt-host-validate
-
$ curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube
-
$ sudo mkdir -p /usr/local/bin/
-
$ sudo install minikube /usr/local/bin/
-
$ minikube start --vm-driver=<driver_name>
, where<driver-name>
kvm2 or set one of list of drivers -
$ minikube status
Output:
host: Running kubelet: Running apiserver: Running kubeconfig: Configured
-
$ minikube stop
-
$ minikube start
- if previous step with error
machine does not exist
, then run$ minikube delete