fancy-caravan-31881
11/23/2021, 5:01 PMconst cluster = new gcp.container.Cluster("mygke", {
...
...
enableAutopilot: true,
initialNodeCount: 1,
nodeConfig: {
machineType: "n2d-standard-2",
oauthScopes: [
...
],
},
...
...
});
But I can’t define a nodeConfig
in the new google-native library and the nodePools
in not very clear to me because and still mentions nodeConfig
and initialNodeCount
which are no longer input properties anymore: https://www.pulumi.com/registry/packages/google-native/api-docs/container/v1/cluster/#nodepools_nodejs
Does anyone here have any experience with GKE Autopilot and new google-native library?
EDIT: as it stands, I can create a Autopilot cluster with no nodesgreen-school-95910
11/23/2021, 5:51 PMfancy-caravan-31881
11/23/2021, 6:54 PM