mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-01 17:06:28 +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
|
handler: kata-qemu-nvidia-gpu-snp
|
||||||
overhead:
|
overhead:
|
||||||
podFixed:
|
podFixed:
|
||||||
memory: "2048Mi"
|
memory: "4096Mi"
|
||||||
cpu: "1.0"
|
cpu: "1"
|
||||||
scheduling:
|
scheduling:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
katacontainers.io/kata-runtime: "true"
|
katacontainers.io/kata-runtime: "true"
|
||||||
|
@@ -6,8 +6,8 @@ metadata:
|
|||||||
handler: kata-qemu-nvidia-gpu-tdx
|
handler: kata-qemu-nvidia-gpu-tdx
|
||||||
overhead:
|
overhead:
|
||||||
podFixed:
|
podFixed:
|
||||||
memory: "2048Mi"
|
memory: "4096Mi"
|
||||||
cpu: "1.0"
|
cpu: "1"
|
||||||
scheduling:
|
scheduling:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
katacontainers.io/kata-runtime: "true"
|
katacontainers.io/kata-runtime: "true"
|
||||||
|
@@ -6,8 +6,8 @@ metadata:
|
|||||||
handler: kata-qemu-nvidia-gpu
|
handler: kata-qemu-nvidia-gpu
|
||||||
overhead:
|
overhead:
|
||||||
podFixed:
|
podFixed:
|
||||||
memory: "160Mi"
|
memory: "4096Mi"
|
||||||
cpu: "250m"
|
cpu: "1"
|
||||||
scheduling:
|
scheduling:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
katacontainers.io/kata-runtime: "true"
|
katacontainers.io/kata-runtime: "true"
|
||||||
|
Reference in New Issue
Block a user