forked from rudzm/cloudhours-workshops
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeploy-cluster.ps1
executable file
·22 lines (22 loc) · 963 Bytes
/
deploy-cluster.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
gcloud beta container clusters create "cloudhours" `
--zone "europe-west1-d" `
--no-enable-basic-auth `
--release-channel "rapid" `
--cluster-version "1.18.10-gke.1500" `
--machine-type "e2-standard-2" `
--image-type "UBUNTU" `
--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" `
--num-nodes "3" `
--enable-stackdriver-kubernetes `
--enable-ip-alias `
--default-max-pods-per-node "110" `
--no-enable-master-authorized-networks `
--addons HorizontalPodAutoscaling,HttpLoadBalancing `
--enable-autoupgrade `
--enable-autorepair `
--max-surge-upgrade 1 `
--max-unavailable-upgrade 0 `
--enable-shielded-nodes