Creates 1 control-plane and 1 worker node (minikube and minikube-m02)
minikube start --nodes 2
Preserves cluster state and data (can be resumed later)
minikube stop
Destroys all Minikube VMs/containers and cluster data
minikube delete
helm repo add argo https://argoproj.github.io/argo-helm helm repo update
helm pull argo/argo-cd
--version 8.0.14
--untar
--destination terraform/helm/charts
git add terraform/helm/charts/argocd git add terraform/helm/charts/opencost git commit -m "chore: add local Helm charts (ArgoCD v5.31.0, OpenCost v0.6.0)" git push origin main
kubectl -n kube-system create serviceaccount dashboard-admin-sa
kubectl -n kube-system create clusterrolebinding dashboard-admin-crb
--clusterrole=cluster-admin
--serviceaccount=kube-system:dashboard-admin-sa
kubectl -n kube-system get secret
$(kubectl -n kube-system get sa dashboard-admin-sa -o jsonpath="{.secrets[0].name}")
-o go-template="{{.data.token | base64decode}}"