Last active
January 18, 2019 11:23
-
-
Save jbzdak/3183a5d10ff09546aa6f232a37210f5f to your computer and use it in GitHub Desktop.
k8s-tutorial/create-cluster.sh
This file contains 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
gcloud beta container --project "your-project" clusters create "tutorial-medium" \ | |
--zone "europe-west1-b" --no-enable-basic-auth --cluster-version "1.11.5-gke.5" \ | |
--machine-type "n1-standard-2" --image-type "COS" --disk-type "pd-standard" \ | |
--disk-size "100" \ | |
--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" --num-nodes "1" --enable-stackdriver-kubernetes --enable-ip-alias --network "projects/logicai-cloud/global/networks/default" --subnetwork "projects/logicai-cloud/regions/europe-west1/subnetworks/default" --default-max-pods-per-node "110" \ | |
--addons HorizontalPodAutoscaling,HttpLoadBalancing --enable-autoupgrade --enable-autorepair --maintenance-window "02:00" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment