From 12582c2f6d6a760cc11aef0c8cf45dc8e5eff25d Mon Sep 17 00:00:00 2001 From: Eric Ernst Date: Thu, 8 Apr 2021 12:02:04 -0700 Subject: [PATCH] kata-deploy: add runtimeclass that includes pod overhead The overhead values may not be perfect, but this is a start, and a good reference. Fixes: #580 Signed-off-by: Eric Ernst --- .../k8s-1.18/kata-runtimeClasses.yaml | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 tools/packaging/kata-deploy/k8s-1.18/kata-runtimeClasses.yaml diff --git a/tools/packaging/kata-deploy/k8s-1.18/kata-runtimeClasses.yaml b/tools/packaging/kata-deploy/k8s-1.18/kata-runtimeClasses.yaml new file mode 100644 index 0000000000..a696e3b3fe --- /dev/null +++ b/tools/packaging/kata-deploy/k8s-1.18/kata-runtimeClasses.yaml @@ -0,0 +1,40 @@ +--- +kind: RuntimeClass +apiVersion: node.k8s.io/v1beta1 +metadata: + name: kata-qemu-virtiofs +handler: kata-qemu-virtiofs +overhead: + podFixed: + memory: "160Mi" + cpu: "250m" +--- +kind: RuntimeClass +apiVersion: node.k8s.io/v1beta1 +metadata: + name: kata-qemu +handler: kata-qemu +overhead: + podFixed: + memory: "160Mi" + cpu: "250m" +--- +kind: RuntimeClass +apiVersion: node.k8s.io/v1beta1 +metadata: + name: kata-clh +handler: kata-clh +overhead: + podFixed: + memory: "130Mi" + cpu: "250m" +--- +kind: RuntimeClass +apiVersion: node.k8s.io/v1beta1 +metadata: + name: kata-fc +handler: kata-fc +overhead: + podFixed: + memory: "130Mi" + cpu: "250m"