Skip to content

Commit ad6474d

Browse files
authored
Update README.md
1 parent 0e0ed35 commit ad6474d

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,27 @@ Run `yarn` so that you install all the necessary dependencies.
2828
- `yarn up`: creates a new GKE cluster and fetches the necessary credentials
2929
- `yarn destroy`: deletes a GKE cluster that was previously created with `yarn up`
3030
- `yarn web`: opens the GCP page for your cluster in your webrowser
31+
32+
## Troubleshooting
33+
34+
### The zone '...' doesn't have enough resources to fulfill the request
35+
36+
Example:
37+
38+
```
39+
Do you want to perform this update? yes
40+
Updating (dev):
41+
42+
Type Name Status Info
43+
+ pulumi:pulumi:Stack sg-deploy-k8s-helper-dev **creating failed** 1 error
44+
+ └─ gcp:container:Cluster geoffrey-sourcegraph-test **creating failed** 1 error
45+
46+
Diagnostics:
47+
pulumi:pulumi:Stack (sg-deploy-k8s-helper-dev):
48+
error: update failed
49+
50+
gcp:container:Cluster (geoffrey-sourcegraph-test):
51+
error: Plan apply failed: Error waiting for creating GKE cluster: Deploy error: Not all instances running in IGM after 46.650887217s. Expect 4. Current errors: [ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS]: Instance 'gke-geoffrey-sourcegraph-default-pool-7f493867-0bmt' creation failed: The zone 'projects/sourcegraph-server/zones/us-central1-a' does not have enough resources available to fulfill the request. '(resource type:compute)'. - ; .
52+
```
53+
54+
Solution: Pick another zone to use from https://cloud.google.com/compute/docs/regions-zones/#available. Set it in your stack configuration by running `pulumi config set gcp:zone [NEW_ZONE]`

0 commit comments

Comments
 (0)