Created
October 20, 2021 06:19
-
-
Save INDIAN2020/5e3f3b2fb7e5dcd349864cb30ee68521 to your computer and use it in GitHub Desktop.
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 container clusters create "cluster-1" | |
--project <PROJECT-ID> | |
--zone <ZONE-ID> | |
--no-enable-basic-auth | |
--cluster-version "1.20.10-gke.1600" | |
--release-channel "stable" | |
--machine-type "e2-medium" | |
--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" | |
--max-pods-per-node "110" | |
--num-nodes "3" | |
--logging=SYSTEM,WORKLOAD | |
--monitoring=SYSTEM | |
--enable-ip-alias | |
--network "projects/<PROJECT>/global/networks/default" | |
--subnetwork "projects/<PROJECT>/regions/us-central1/subnetworks/default" | |
--no-enable-intra-node-visibility | |
--default-max-pods-per-node "110" | |
--no-enable-master-authorized-networks | |
--addons HorizontalPodAutoscaling,HttpLoadBalancing,GcePersistentDiskCsiDriver | |
--enable-autoupgrade | |
--enable-autorepair | |
--max-surge-upgrade 1 | |
--max-unavailable-upgrade 0 | |
--enable-shielded-nodes | |
--node-locations "us-central1-a","us-central1-b","us-central1-c","us-central1-f" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment