Skip to content

Instantly share code, notes, and snippets.

@ipedrazas
Created March 3, 2020 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ipedrazas/5b215409bbe592b33a21ae6a64f09b6c to your computer and use it in GitHub Desktop.
Save ipedrazas/5b215409bbe592b33a21ae6a64f09b6c to your computer and use it in GitHub Desktop.
storage test
gcloud beta container --project "deployments-team-01" clusters create "storage-test" \
--zone "us-central1-c" \
--no-enable-basic-auth \
--cluster-version "1.14.10-gke.17" \
--machine-type "n1-standard-2" \
--image-type "COS" \
--disk-type "pd-standard" \
--disk-size "100" \
--metadata disable-legacy-endpoints=true \
--scopes "https://www.googleapis.com/auth/devstorage.read_only","https://www.googleapis.com/auth/logging.write","https://www.googleapis.com/auth/monitoring","https://www.googleapis.com/auth/servicecontrol","https://www.googleapis.com/auth/service.management.readonly","https://www.googleapis.com/auth/trace.append" \
--preemptible \
--num-nodes "15" \
--enable-stackdriver-kubernetes \
--enable-ip-alias \
--network "projects/deployments-team-01/global/networks/default" \
--subnetwork "projects/deployments-team-01/regions/us-central1/subnetworks/default" \
--default-max-pods-per-node "110" \
--addons HorizontalPodAutoscaling,HttpLoadBalancing \
--enable-autoupgrade \
--enable-autorepair
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment