Skip to content

chabbax/minikube-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minikube Lab

Start Minikube

Creates 1 control-plane and 1 worker node (minikube and minikube-m02)

minikube start --nodes 2

Stop Minikube

Preserves cluster state and data (can be resumed later)

minikube stop

Delete Minikube

Destroys all Minikube VMs/containers and cluster data

minikube delete

1. On an Internet-connected workstation, add and update the necessary Helm repos:

helm repo add argo https://argoproj.github.io/argo-helm helm repo update

2. Pull and unpack the Argo CD chart into your local charts directory:

helm pull argo/argo-cd
--version 8.0.14
--untar
--destination terraform/helm/charts

3. Commit the unpacked chart folders into Git:

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

Log in with a token (Dashboard will prompt)

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}}"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors