Merge pull request #37 from sirius0xdev/fix-l4-gpu-drivers

fix: sync L4 GPU nodepool, deployment, and drivers
This commit is contained in:
sirius0xdev 2026-04-20 01:14:38 -04:00 committed by GitHub
commit 12aef25aa0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 3 deletions

View file

@ -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"

View file

@ -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"
}
} }