Skip to content

Instantly share code, notes, and snippets.

@vfarcic
Created September 9, 2018 22:12
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/ca52ff97fc80565af0c46c37449babac to your computer and use it in GitHub Desktop.
Save vfarcic/ca52ff97fc80565af0c46c37449babac to your computer and use it in GitHub Desktop.
####################
# Create A Cluster #
####################
# Open Docker Preferences, select the Kubernetes tab, and select the "Enable Kubernetes" checkbox
# Open Docker Preferences, select the Advanced tab, set CPUs to 2, and Memory to 2.0
# Make sure that your current kubectl context is pointing to your Docker for Mac/Windows cluster
##################
# 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 #
#######################
# Reset Kubernetes cluster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment