-
-
Save prageethw/b57f25c782c134919ade0779c37a2d18 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###################### | |
# Create The Cluster # | |
###################### | |
# Make sure that your minikube version is v0.25 or higher | |
# WARNING!!! | |
# Some users experienced problems starting the cluster with minikuber v0.26 and v0.27. | |
# A few of the reported issues are https://github.com/kubernetes/minikube/issues/2707 and https://github.com/kubernetes/minikube/issues/2703 | |
# If you are experiencing problems creating a cluster, please consider downgrading to minikube v0.25. | |
minikube start \ | |
--vm-driver virtualbox \ | |
--cpus 3 \ | |
--memory 3072 | |
############################### | |
# Install Ingress and Storage # | |
############################### | |
minikube addons enable ingress | |
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 | |
################## | |
# Get Cluster IP # | |
################## | |
export LB_IP=$(minikube ip) | |
####################### | |
# Destroy the cluster # | |
####################### | |
minikube delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment