mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-31 16:36:38 +00:00
gpu: Update runtimeClasses for correct podoverhead
We cannot only rely only on default_cpu and default_memory in the config, default is 1 and 2Gi but we need some overhead for QEMU and the other related binaries running as the pod overhead. Especially when QEMU is hot-plugging GPUs, CPUs, and memory it can consume more memory. Signed-off-by: Zvonko Kaiser <zkaiser@nvidia.com>
This commit is contained in:
@@ -6,8 +6,8 @@ metadata:
|
||||
handler: kata-qemu-nvidia-gpu-snp
|
||||
overhead:
|
||||
podFixed:
|
||||
memory: "2048Mi"
|
||||
cpu: "1.0"
|
||||
memory: "4096Mi"
|
||||
cpu: "1"
|
||||
scheduling:
|
||||
nodeSelector:
|
||||
katacontainers.io/kata-runtime: "true"
|
||||
|
@@ -6,8 +6,8 @@ metadata:
|
||||
handler: kata-qemu-nvidia-gpu-tdx
|
||||
overhead:
|
||||
podFixed:
|
||||
memory: "2048Mi"
|
||||
cpu: "1.0"
|
||||
memory: "4096Mi"
|
||||
cpu: "1"
|
||||
scheduling:
|
||||
nodeSelector:
|
||||
katacontainers.io/kata-runtime: "true"
|
||||
|
@@ -6,8 +6,8 @@ metadata:
|
||||
handler: kata-qemu-nvidia-gpu
|
||||
overhead:
|
||||
podFixed:
|
||||
memory: "160Mi"
|
||||
cpu: "250m"
|
||||
memory: "4096Mi"
|
||||
cpu: "1"
|
||||
scheduling:
|
||||
nodeSelector:
|
||||
katacontainers.io/kata-runtime: "true"
|
||||
|
Reference in New Issue
Block a user