From 3986f8146796d72793a40701af645e952eba84a1 Mon Sep 17 00:00:00 2001 From: Aaron Crickenberger Date: Mon, 24 Aug 2020 11:34:37 -0700 Subject: [PATCH] Add an n1_highmem_8 nodepool to k8s-infra-prow-build to prep for migration --- .../k8s-infra-prow-build/prow-build/main.tf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/infra/gcp/clusters/projects/k8s-infra-prow-build/prow-build/main.tf b/infra/gcp/clusters/projects/k8s-infra-prow-build/prow-build/main.tf index 3936230c670..8f0d52cd25c 100644 --- a/infra/gcp/clusters/projects/k8s-infra-prow-build/prow-build/main.tf +++ b/infra/gcp/clusters/projects/k8s-infra-prow-build/prow-build/main.tf @@ -126,6 +126,25 @@ module "prow_build_nodepool_n1_highmem_16" { service_account = module.prow_build_cluster.cluster_node_sa.email } +module "prow_build_nodepool_n1_highmem_8" { + source = "../../../modules/gke-nodepool" + project_name = local.project_id + cluster_name = module.prow_build_cluster.cluster.name + location = module.prow_build_cluster.cluster.location + name = "pool3" + initial_count = 1 + min_count = 1 + max_count = 30 + # kind-ipv6 jobs need an ipv6 stack; COS doesn't provide one, so we need to + # use an UBUNTU image instead. Keep parity with the existing google.com + # k8s-prow-builds/prow cluster by using the CONTAINERD variant + image_type = "UBUNTU_CONTAINERD" + machine_type = "n1-highmem-16" + disk_size_gb = 250 + disk_type = "pd-ssd" + service_account = module.prow_build_cluster.cluster_node_sa.email +} + module "greenhouse_nodepool" { source = "../../../modules/gke-nodepool" project_name = local.project_id