learn-terraform-provision-gke-cluster
learn-terraform-provision-gke-cluster copied to clipboard
Error creating NodePool
Hi, I'm getting start with the tutorial and by running tf apply
, following error occurred:
I tried resolving it by changing the location as:
As I'm quite new to google cluster, wondering if this is relative to the zonal cluster OR if somewhere I might be missing?
@Kavinjsir There is an overall quota that is blocking you. Under Compute Engine API (https://console.cloud.google.com/apis/api/compute.googleapis.com/quotas). You either need to raise your quota to more than 500GB for Persistent Disk SSD or alternatively lower the disk size on your primary nodes (I think it can be set using disk_size_gb).
I also run into this issue. Given that the tutorial is presented as something that should work with Free Tier OOTB it would be useful to add the disk_size_gb
configuration directly into the gke.tf
. It could be commented out with some explanation.
In my case something was just eating ~100GB disk space from my SSD quota (not sure what was that because all the other project were deleted – though they were still scheduled for deletion so maybe that is why ... and this can be a common cause of the issue).