Skip to content

Instantly share code, notes, and snippets.

@aofry aofry/
Last active Jan 14, 2018

What would you like to do?
minikube with helm
# download binaries
mv kubectl.exe mv /usr/local/bin/
mv minikube-windows-amd64 /usr/local/bin/minikube.exe
tar xvzf helm-v2.7.2-windows-amd64.tar.gz
mv windows-amd64/helm.exe /usr/local/bin/
# start minikube
minikube start
kubectl get svc,nodes
# setup helm
helm init
helm repo update
helm repo list
# install some postgres under db namespace
helm install --name pg1 \
--namespace db \
--set postgresPassword=some-password,postgresDatabase=db1 \
helm ls
kubectl get svc,pods -n db
# get the cluster ip and port in the browser (not so helpfull for a non http endpoint)
# minikube service pg1-postgresql -n db
# open dashboard
minikube dashboard
helm delete pg1 --purge
# remove all
minikube delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.