Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lab 2 #6

Open
arora-manish opened this issue Aug 9, 2023 · 0 comments
Open

Lab 2 #6

arora-manish opened this issue Aug 9, 2023 · 0 comments

Comments

@arora-manish
Copy link

marora@cloudshell:~/redis-repo-20230809134604 (manish-redis-dev-day)$ export PROJECT_ID=$(gcloud info --format='value(config.project)')
export PROJECT_NUMBER=$(gcloud projects list --filter="$PROJECT_ID" --format="value(PROJECT_NUMBER)")
export CLUSTER_LOCATION=us-central1
export CLUSTER_NAME="redis-gke-cluster-$CLUSTER_LOCATION"

gcloud container clusters create $CLUSTER_NAME
--project=$PROJECT_ID
--region=$CLUSTER_LOCATION
--machine-type=e2-standard-8
--network=$VPC_NETWORK
--subnetwork=$SUBNETWORK
--num-nodes=1
--workload-pool=${PROJECT_ID}.svc.id.goog
--labels="mesh_id=proj-${PROJECT_NUMBER}"
Default change: VPC-native is the default mode during cluster creation for versions greater than 1.21.0-gke.1500. To create advanced routes based clusters, please pass the --no-enable-ip-alias flag
Default change: During creation of nodepools or autoscaling configuration changes for cluster versions greater than 1.24.1-gke.800 a default location policy is applied. For Spot and PVM it defaults to ANY, and for all other VM kinds a BALANCED policy is used. To change the default values use the --location-policy flag.
Note: Your Pod address range (--cluster-ipv4-cidr) can accommodate at most 1008 node(s).
ERROR: (gcloud.container.clusters.create) ResponseError: code=403, message=Insufficient project quota to satisfy request: resource "CPUS_ALL_REGIONS": request requires '24.0' and is short '12.0'. project has a quota of '12.0' with '12.0' available. View and manage quotas at https://console.cloud.google.com/iam-admin/quotas?usage=USED&project=manish-redis-dev-day.

on the free tier, i was not able to increase the quota from 12 to 24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant