Skip to content

Instantly share code, notes, and snippets.

@vfarcic
Last active January 24, 2019 19:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save vfarcic/3fbf532b1716d40ae60552baf83b8ed1 to your computer and use it in GitHub Desktop.
Save vfarcic/3fbf532b1716d40ae60552baf83b8ed1 to your computer and use it in GitHub Desktop.
######################
# Create The Cluster #
######################
# Open Docker Preferences, select the Kubernetes tab, and select the "Enable Kubernetes" checkbox
# Open Docker Preferences, select the Advanced tab, set CPUs to 4, and Memory to 4.0
# Make sure that your current kubectl context is pointing to your Docker for Mac/Windows cluster
# To install Ingress: execute the commands that follow from a terminal
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/mandatory.yaml
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/provider/cloud-generic.yaml
#######################
# Destroy the cluster #
#######################
# Reset Kubernetes cluster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment