kata-deploy: add kata-qemu-snp runtimeclass

Since SEV-SNP has limited hotplug support, increase
the pod overhead to account for fixed resource usage.

Signed-off-by: Tobin Feldman-Fitzthum <tobin@ibm.com>
This commit is contained in:
Tobin Feldman-Fitzthum 2023-04-28 19:29:36 +00:00
parent 0bb37bff78
commit 14dd053758

View File

@ -40,6 +40,19 @@ scheduling:
--- ---
kind: RuntimeClass kind: RuntimeClass
apiVersion: node.k8s.io/v1 apiVersion: node.k8s.io/v1
metadata:
name: kata-qemu-snp
handler: kata-qemu-snp
overhead:
podFixed:
memory: "2048Mi"
cpu: "1.0"
scheduling:
nodeSelector:
katacontainers.io/kata-runtime: "true"
---
kind: RuntimeClass
apiVersion: node.k8s.io/v1
metadata: metadata:
name: kata-clh name: kata-clh
handler: kata-clh handler: kata-clh