message: Update kubernetes-ts-multicloud/gke.ts
diff: @@ -36,20 +36,38 @@ export class GkeCluster extends pulumi.ComponentResource {
  // Create the GKE cluster.
  const k8sCluster = new gcp.container.Cluster("cluster", {
  - initialNodeCount: 2,
  - nodeVersion: engineVersion,
  + // We can't create a cluster with no node pool defined, but we want to only use
  + // separately managed node pools. So we create the smallest possible default
  + // node pool and immediately delete it.
  + initialNodeCount: 1,
  + removeDefaultNodePool: true,
  +
  minMasterVersion: engineVersion,
  masterAuth: {username: "example-user", password: password},
  + }, {parent: this});
  +
  + const nodePool = new gcp.container.NodePool(`primary-node-pool`, {
  + cluster: k8sCluster.name,
  + initialNodeCount: 2,
  + location: k8sCluster.location,
  nodeConfig: {
  + preemptible: true,
  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",
  - ],
  + "https://www.googleapis.com/auth/monitoring"
  + ]
  },
  - }, {parent: this});
  + version: engineVersion,
  + management: {
  + autoRepair: true,
  + }
  + }, {
  + dependsOn: [k8sCluster]
  + });
  +
  this.cluster = k8sCluster;
  // Manufacture a GKE-style Kubeconfig. Note that this is slightly "different" because of the way GKE requires
  