Setup Minikube
- Install Minikube
- Go to Hyper-V Manager and create a new virtual switch via virtual switch manager named “minikube”. Select the type to be
internalwhile creating. - Run the following command to start minikube
minikube start --vm-driver="hyperv" --hyperv-virtual-switch="minikube"
Delete minikube
minikube delete
Go to ~/.minikube/cache folder and delete all its contents to remove the cache
Run service in the web browser:
You can retrieve service name from following command
kubectl get services
You can issue the following to start it.
minikube service <service-name>
Check status of minikube
minikube status
List Add-ons
minikube addons list
Enable addon
minikube addons enable <add-on>
minikube addons enable dashboard
Start dashboard
minikube dashboard