Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Apr 17th, 2018 49 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. # change to match your environment
  2. ISTIO_HOME="/Applications/istio-0.7.1"
  3. GCP_DEPLOYMENT_MANAGER="$ISTIO_HOME/install/gcp/deployment_manager"
  4. GCP_PROJECT="springdemo-199819"
  5. GKE_CLUSTER="election-nonprod-cluster"
  6. ISTIO_VER="0.7.1"
  7. GCP_ZONE="us-east1-b"
  8. NODE_COUNT="2"
  9. INSTANCE_TYPE="n1-standard-1"
  10.  
  11. # deploy gke istio cluster
  12. gcloud deployment-manager deployments create springdemo-istio-demo-deployment \
  13.   --template=$GCP_DEPLOYMENT_MANAGER/istio-cluster.jinja \
  14.   --properties "gkeClusterName:$GKE_CLUSTER,installIstioRelease:$ISTIO_VER,"\
  15. "zone:$GCP_ZONE,initialNodeCount:$NODE_COUNT,instanceType:$INSTANCE_TYPE,"\
  16. "enableAutomaticSidecarInjection:false,enableMutualTLS:true,enableBookInfoSample:false"
  17.  
  18. # get creds for cluster
  19. gcloud container clusters get-credentials $GKE_CLUSTER \
  20.   --zone $GCP_ZONE --project $GCP_PROJECT
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top