Merge pull request #37 from sirius0xdev/fix-l4-gpu-drivers
fix: sync L4 GPU nodepool, deployment, and drivers
This commit is contained in:
commit
12aef25aa0
2 changed files with 7 additions and 3 deletions
|
|
@ -16,7 +16,7 @@ spec:
|
||||||
app: openclaw-brain-l4
|
app: openclaw-brain-l4
|
||||||
spec:
|
spec:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
cloud.google.com/gke-accelerator: "nvidia-l4"
|
workload: "llm-analyst"
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: "nvidia.com/gpu"
|
- key: "nvidia.com/gpu"
|
||||||
operator: "Equal"
|
operator: "Equal"
|
||||||
|
|
|
||||||
|
|
@ -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