Skip to content

Instantly share code, notes, and snippets.

@dmilan77
Last active August 7, 2019 23:18
Show Gist options
  • Save dmilan77/029c06b8c6b81f061961e7abb589aaa1 to your computer and use it in GitHub Desktop.
Save dmilan77/029c06b8c6b81f061961e7abb589aaa1 to your computer and use it in GitHub Desktop.
1. Installations

Step 1: Open account in dockerhub

https://hub.docker.com/signup?next=%2F%3Fref%3Dlogin

Step 2: Installations

Choose one of the following to configure you kubernetes environment.

Docker for desktop https://www.docker.com/products/docker-desktop

Minikube curl -Lo minikube https://storage.googleapis.com/minikube/releases/v1.3.0/minikube-darwin-amd64 && chmod +x minikube && sudo cp minikube /usr/local/bin/ && rm minikube

GKE

export my_zone=us-central1-a 
export my_cluster=atlmeetup-cluster-0
gcloud container clusters create $my_cluster --num-nodes 3 --zone $my_zone --enable-ip-alias

Connect to gke CLuster

gcloud container clusters get-credentials $my_cluster --zone $my_zone

Step 3

Install git https://gist.github.com/derhuerst/1b15ff4652a867391f03

Install kubectl if not installed https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl-on-macos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment