Unable to create regional cluster
See original GitHub issue@pulumi/gcp@0.18.2
export const k8sCluster = new gcp.container.Cluster('gke-cluster', {
initialNodeCount: 1,
nodeVersion: 'latest',
minMasterVersion: 'latest',
nodeConfig: {
machineType: 'n1-standard-1',
oauthScopes: [
'https://www.googleapis.com/auth/compute',
'https://www.googleapis.com/auth/devstorage.read_only',
'https://www.googleapis.com/auth/logging.write',
'https://www.googleapis.com/auth/monitoring',
],
},
// regional cluster
location: 'us-central1',
nodeLocations: ['us-central1-f', 'us-central1-b'],
})
gcp:container:Cluster (gke-cluster):
error: gcp:container/cluster:Cluster resource 'gke-cluster' has a problem: : invalid or unknown key: location
error: gcp:container/cluster:Cluster resource 'gke-cluster' has a problem: : invalid or unknown key: node_locations
This should be possible based on #119
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (5 by maintainers)
Top Results From Across the Web
Creating a regional cluster | Google Kubernetes Engine (GKE)
The following instructions show you how to create a regional cluster with a node pool operating in a single zone within the region....
Read more >Attempts to create a free cluster leads to a "Clusters cannot be ...
When you attempt to create a free cluster, you see a "Clusters cannot be created in this region without a Pay-As-You-Go account" error...
Read more >Unable to create zonal GKE cluster with multi-zone node pool
This is an issue with multi-zone clusters, but I don't have an ETA on when it will be resolved. I would suggest changing...
Read more >How do I resolve cluster creation errors in Amazon EKS?
You receive an error message stating that resource creation failed. Complete the steps in the Confirm that you have the correct IAM permissions ......
Read more >Default cluster creation in GUI doesn't work because of quota ...
Addition: the setup has to use zonal and then any zone with at least 3 regions will fail. So another workaround is those...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Reopening because I am unable to workaround the plugin versioning.
After a rebuild with initial yarn, the plugins are confirmed good:
Then I ran
pulumi up
on a stack with the following dependencies:I then notice that
pulumi up
installed the older gcp@0.18.0 plugin:With the result:
What is bizarre is this originally worked briefly (a few hours), then stopped working. Now I cannot use the code written for the regional cluster even after clearing plugins/rebuilding node_modules.
I was looking for an old issue I created and bumped into this one and saw it was open. I’m no longer having problems with regional clusters so I’m going to close this for now, until I bump into it again. https://github.com/pulumi/pulumi/issues/2576 is resolved so perhaps that was indeed the cause.