Created
April 30, 2016 11:18
-
-
Save jonatanblue/fa94ba53b3351be01d415bda179b15a5 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
#Pre-req: install gcloud (Google Cloud CLI) | |
PROJECT_NAME=${1} | |
CLUSTER_NAME=kubernetes-lab-1 | |
GOOGLE_REGION=europe-west1-d | |
brew update | |
brew install kubernetes-cli | |
brew install gcloud | |
gcloud config set project $PROJECT_NAME | |
gcloud config set compute/zone $GOOGLE_REGION | |
gcloud config set container/cluster $CLUSTER_NAME | |
curl -s https://get.helm.sh | bash | |
helm install weavescope | |
APP_NAME=$(kubectl get pods | grep weave-scope-app | awk '{ print $1 }') | |
kubectl port-forward ${APP_NAME} 4040:4040 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment