-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcreate_gcp_cluster.sh
executable file
·20 lines (20 loc) · 1.11 KB
/
create_gcp_cluster.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
gcloud beta container \
--project "maximal-copilot-249415" clusters create "test" \
--zone "us-central1-a" \
--no-enable-basic-auth \
--cluster-version "1.13.7-gke.24" \
--machine-type "n1-standard-1" \
--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 "3" \
--enable-stackdriver-kubernetes \
--enable-stackdriver-kubernetes \
--enable-ip-alias \
--network "projects/maximal-copilot-249415/global/networks/default" \
--subnetwork "projects/maximal-copilot-249415/regions/us-central1/subnetworks/default" \
--default-max-pods-per-node "110" \
--addons HorizontalPodAutoscaling,HttpLoadBalancing \
--enable-autoupgrade \
--enable-autorepair