minikube start --kubernetes-version=v1.30.0
minikube start --cpus 4 --memory 8192
minikube start --cpus 4 --memory 5g --driver=virtualbox
minikube start --cpus=4 --memory=4096 --driver=virtualbox

# install calico on standard k8s cluster OR minikube k8s cluster - [$ curl https://docs.projectcalico.org/manifests/calico-typha.yaml -o calico.yaml]
# install calico on cluster - [$ kubectl apply -f calico.yaml]
minikube start --memory 6144 --cpus 4 --network-plugin=cni --cni=calico                                                     # --network-plugin=cni - specify to use cni as the k8s network plugin, --cni=calico - specify calico as the cni plugin

minikube config set cpus 4                                          # existing minikube to allocate more cpu
minikube config set memory 16384                                    # existing minikube to allocate more memory

minikube addons enable ingress
minikube addons enable ingress -p NAME                              # it enabled ingress addons with specific profile name of the cluster
minikube addons enable dashboard
minikube addons enable metrics-server
minikube addons disable metrics-server
