- Start/Create a Default Profile
$ minikube start --vm-driver=virtualbox
- Start/Create a New Profile
$ minikube start --vm-driver=virtualbox -p <profile-name>
- Start/Create a Profile/Cluster with specific resources (CPU and RAM)
$ minikube start --vm-driver=virtualbox -p <profile-name> --cpus=2 --memory=2048
- List different profiles/clusters
- Delete an existing Profile/Cluster
$ minikube delete -p <profile-name>
- Delete all Profiles/Clusters
- Access Dasboard for default profile/cluster
- Access Dashboard for specific profile/cluster
$ minikube dashboard -p <profile-name>
$ minikube dashboard --url
- List Services of default profile/cluster
- List Services of specific profile/cluster
$ minkube services list -p <profile-name>
$ minikube service --url <service-name>
- View ip of default profile/cluster
- View ip of specific profile/cluster
$ minikube ip -p <profile-name>
- SSH minikube node environment
- Retrive ssh-host key of minikube node
- Retrive ssh-key identity path
- List addons supported by minikube
$ minikube addons enable <addon-name>
$ minikube addons disable <addon-name>
- For default profile/cluster
$ minikube kubectl get pods
$ minikube kubectl get services
$ minikube kubectl get deployment
- For specific profile/cluster
$ minikube kubectl get pods -p <profile-name>
$ minikube kubectl get services -p <profile-name>
$ minikube kubectl get deployment -p <profile-name>
- Point terminal to minikube docker enviroment
$ eval $(minikube docker-env)
- Detach terminal from minikube docker enviroment
$ eval $(minikube docker-env -u)
Useful Links for Reference