Skip to content

Commit

Permalink
nodeinstaller: increase Kata agent dial timeout
Browse files Browse the repository at this point in the history
This is necessary for GPU-enabled containers, which may pull their images for a lot longer, given they sometimes include model weights, which are costly storage-wise.
  • Loading branch information
msanft committed Jan 17, 2025
1 parent 97831b6 commit 4a101d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nodeinstaller/internal/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ func KataRuntimeConfig(baseDir string, platform platforms.Platform, qemuExtraKer
config.Hypervisor["qemu"]["cold_plug_vfio"] = "root-port"
// GPU images tend to be larger, so give a better default timeout that
// allows for pulling those.
config.Agent["kata"]["dial_timeout"] = 600
config.Runtime["create_container_timeout"] = 600
}
default:
Expand Down

0 comments on commit 4a101d5

Please sign in to comment.