2026-03-25 00:28:36 +00:00
|
|
|
resource "google_container_node_pool" "h100_node_pool" {
|
|
|
|
|
name = "h100-analyst-pool"
|
|
|
|
|
location = "us-central1-a"
|
|
|
|
|
cluster = google_container_cluster.primary.name
|
|
|
|
|
|
|
|
|
|
initial_node_count = 0
|
|
|
|
|
autoscaling {
|
|
|
|
|
min_node_count = 0
|
|
|
|
|
max_node_count = 1
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
node_config {
|
|
|
|
|
machine_type = "a3-highgpu-1g"
|
|
|
|
|
|
|
|
|
|
guest_accelerator {
|
|
|
|
|
type = "nvidia-h100-80gb"
|
|
|
|
|
count = 1
|
|
|
|
|
|
|
|
|
|
gpu_driver_installation_config {
|
|
|
|
|
gpu_driver_version = "LATEST"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
taint {
|
|
|
|
|
key = "nvidia.com/gpu-h100"
|
|
|
|
|
value = "present"
|
|
|
|
|
effect = "NO_SCHEDULE"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
labels = {
|
2026-03-25 04:17:36 +00:00
|
|
|
"accelerator" = "h100-single"
|
|
|
|
|
"cloud.google.com/gke-accelerator" = "nvidia-h100-80gb"
|
2026-03-25 00:28:36 +00:00
|
|
|
}
|
|
|
|
|
disk_size_gb = 200
|
|
|
|
|
disk_type = "pd-ssd"
|
2026-03-25 02:01:26 +00:00
|
|
|
spot = true
|
2026-03-25 00:28:36 +00:00
|
|
|
|
|
|
|
|
oauth_scopes = [
|
|
|
|
|
"https://www.googleapis.com/auth/cloud-platform"]
|
|
|
|
|
|
|
|
|
|
metadata = {
|
|
|
|
|
disable-legacy-endpoints = "true"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
management {
|
|
|
|
|
auto_repair = true
|
|
|
|
|
auto_upgrade = true
|
|
|
|
|
}
|
|
|
|
|
}
|