Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add n1-highmem-8 nodepool with larger SSDs to k8s-infra-prow-build #1186

Merged
merged 1 commit into from
Aug 28, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,26 @@ module "prow_build_nodepool_n1_highmem_8" {
service_account = module.prow_build_cluster.cluster_node_sa.email
}

module "prow_build_nodepool_n1_highmem_8_maxiops" {
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 = "pool4"
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-8"
# Use an ssd volume sized to allow the max IOPS supported by n1 instances w/ 8 vCPU
disk_size_gb = 500
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
Expand Down