Welcome to the Linux Foundation Forum!

"Lab 4.1 - Install Jenkins X in GCP" fails due to error GCE_QUOTA_EXCEEDED

Hello,

would appreciate if somebody could guide me on how to resolve this issue.

Getting the error below no matter which region or max. node count configured:

  1. $ terraform apply
  2. . . .
  3. module.jx.module.cluster.google_container_cluster.jx_cluster: Still creating... [7m50s elapsed]
  4. . . .
  5. Error: Error waiting for creating GKE cluster: Insufficient quota to satisfy the request:
  6. Not all instances running in IGM after 17.531509935s. Expected 3, runn ing 2,
  7. transitioning 1. Current errors: [GCE_QUOTA_EXCEEDED]:
  8. Instance 'gke-jenkins-x-default-pool-d0269c45-sjh5' creation failed:
  9. Quota 'IN_USE_ADDRESSES' exceed ed. Limit: 8.0 in region us-central1.
  10.  
  11. with module.jx.module.cluster.google_container_cluster.jx_cluster,
  12. on .terraform/modules/jx/modules/cluster/main.tf line 24, in resource "google_container_cluster" "jx_cluster":
  13. 24: resource "google_container_cluster" "jx_cluster" {

Tried to reduce max_node_count to 3 (from default 5):

  1. $ cat values.auto.tfvars
  2. resource_labels = { "provider" : "jx" }
  3. jx_git_url = "https://github.com/home-systems-oy/jx3-gke-gsm"
  4. gcp_project = "lfs268-370610"
  5. cluster_name = "jenkins-x"
  6. cluster_location = "us-central1"
  7. max_node_count = 3
  8. gsm = true
  9. force_destroy = true

But has no effect and still fails.
During cluster creation GKE console shows "Number of nodes" 9 which exceeds quota of 8 IP_ADDRESSES.

+ Yurii Kantonistov

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training