https://pulumi.com logo
p

prehistoric-account-60014

04/14/2020, 4:19 PM
Can anybody comment as to why it is not recommended to use the default node pool for
gcp.container.Cluster
and it is recommended to use
gcp.container.NodePool
instead? I know that this is also Terraform’s recommendation but I wasn’t able to find the rationale behind it.
b

broad-helmet-79436

04/21/2020, 9:53 AM
Did you learn anything about this? I’ve been wondering about it too…
p

prehistoric-account-60014

04/21/2020, 2:19 PM
Not really. At this point my only guess would be that if you wanted to update the node pool you can do so without having to delete-replace the cluster but that’s just an assumption. I guess that’s easily testable, though.
If the default pool is used and then subsequently changed via the cluster resource, maybe it will have to recreate the cluster?
b

broad-helmet-79436

04/21/2020, 2:38 PM
hehe, yeah. it’s pretty easy to test these things I guess, but it still takes a lot of time and requires setting up throwaway clusters… would be nice if the docs were slightly more elaborate on this 😄