fix: make L4 nodepool 24/7 base and add missing gpu_driver_installation_config
This commit is contained in:
parent
5100d2732b
commit
bf57982e2f
1 changed files with 6 additions and 2 deletions
|
|
@ -3,10 +3,10 @@ resource "google_container_node_pool" "gpu_pool" {
|
||||||
location = "us-central1-a"
|
location = "us-central1-a"
|
||||||
cluster = google_container_cluster.primary.name
|
cluster = google_container_cluster.primary.name
|
||||||
|
|
||||||
initial_node_count = 0
|
initial_node_count = 1
|
||||||
|
|
||||||
autoscaling {
|
autoscaling {
|
||||||
min_node_count = 0
|
min_node_count = 1
|
||||||
max_node_count = 1
|
max_node_count = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -16,6 +16,10 @@ resource "google_container_node_pool" "gpu_pool" {
|
||||||
guest_accelerator {
|
guest_accelerator {
|
||||||
type = "nvidia-l4"
|
type = "nvidia-l4"
|
||||||
count = 1
|
count = 1
|
||||||
|
|
||||||
|
gpu_driver_installation_config {
|
||||||
|
gpu_driver_version = "LATEST"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue