sparse-intern-71089
05/19/2022, 10:04 PMhundreds-airport-37168
05/20/2022, 6:55 AMconst nodePool = new NodePool(args.nodePoolName, {
cluster: cluster.id,
nodeCount: args.nodesPerZone,
maxPodsPerNode: args.maxPodsPerNode,
nodeConfig: {
preemptible: true,
machineType: args.nodeMachineType,
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>",
"<https://www.googleapis.com/auth/cloud-platform>",
],
workloadMetadataConfig: {
mode: "GKE_METADATA"
}
},
});
clever-king-43153
05/20/2022, 5:13 PM