Skip to content

Instantly share code, notes, and snippets.

@vfarcic
Created September 10, 2018 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save vfarcic/5bc07d822f8825263245829715261a68 to your computer and use it in GitHub Desktop.
Save vfarcic/5bc07d822f8825263245829715261a68 to your computer and use it in GitHub Desktop.
######################
# Create The Cluster #
######################
# Make sure that your minikube version is v0.25 or higher
minikube start \
--vm-driver virtualbox \
--cpus 2 \
--memory 2048
###################
# Install Storage #
###################
minikube addons enable storage-provisioner
minikube addons enable default-storageclass
##################
# Install Tiller #
##################
kubectl create \
-f https://raw.githubusercontent.com/vfarcic/k8s-specs/master/helm/tiller-rbac.yml \
--record --save-config
helm init --service-account tiller
kubectl -n kube-system \
rollout status deploy tiller-deploy
#######################
# Destroy the cluster #
#######################
minikube delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment