Skip to content

Instantly share code, notes, and snippets.

@rtrentin73
Last active June 6, 2022 16:40
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 rtrentin73/fc4b1e90bcb0f6b2732623855b769025 to your computer and use it in GitHub Desktop.
Save rtrentin73/fc4b1e90bcb0f6b2732623855b769025 to your computer and use it in GitHub Desktop.
gcloud beta container clusters create gke-us-east4-cluster-1 \
--zone "us-east4-a" \
--enable-private-nodes \
--enable-private-endpoint \
--master-ipv4-cidr "192.168.254.0/28" \
--enable-ip-alias \
--network "gcp-spoke100-us-east4" \
--subnetwork "gcp-spoke100-us-east4-nodes" \
--cluster-secondary-range-name "gcp-spoke100-us-east4-pod" \
--services-secondary-range-name "gcp-spoke100-us-east4-services" \
--enable-master-authorized-networks \
--master-authorized-networks "172.24.130.0/23"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment