Preliminary
To make our life easier, use alias
|
|
You can create your own alias too!
Install
To install Minikube, refer to the official guidelines at https://minikube.sigs.k8s.io/docs/start. Personally, I use EndeavourOS (an Arch-based Linux distribution), so I simply run sudo pacman -S minikube (refer to https://archlinux.org/packages/extra/x86_64/minikube/) to complete the installation.
Command
Profile
Get List
Lists all valid minikube profiles and detects all possible invalid profiles.
|
|
to get list kubecontext use command
|
|
the result is like

Switch
This command switches the active Minikube profile to the specified profile_name.
|
|
to switch kubecontext, we can use this command
|
|
Start
This command starts a Minikube cluster with the given profile_name. If the profile doesn’t exist, it will create a new one.
|
|
Delete
This command will delete the associated Kubernetes cluster and its resources.
|
|
Using the –purge flag will delete the .minikube folder from your user directory. This will remove all minikube related data. This is very useful when you want to fully clean up minikube.
|
|
This command will delete all Minikube profiles.
|
|