From 2df6cb7609aefce7aadad2a1243186c103c2d4d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Sat, 5 Aug 2023 15:23:40 +0200 Subject: [PATCH] kata-deploy: Add missing kata-remote runtimeclass MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's CCv0 specific for now, and it's needed as the Operator is now delegating the runtimeclass creation to the kata-deploy daemonset. Fixes: #7550 Signed-off-by: Fabiano FidĂȘncio --- .../kata-deploy/runtimeclasses/kata-remote.yaml | 13 +++++++++++++ .../runtimeclasses/kata-runtimeClasses.yaml | 13 +++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 tools/packaging/kata-deploy/runtimeclasses/kata-remote.yaml diff --git a/tools/packaging/kata-deploy/runtimeclasses/kata-remote.yaml b/tools/packaging/kata-deploy/runtimeclasses/kata-remote.yaml new file mode 100644 index 0000000000..242b2c509e --- /dev/null +++ b/tools/packaging/kata-deploy/runtimeclasses/kata-remote.yaml @@ -0,0 +1,13 @@ +--- +kind: RuntimeClass +apiVersion: node.k8s.io/v1 +metadata: + name: kata-remote +handler: kata-remote +overhead: + podFixed: + memory: "120Mi" + cpu: "250m" +scheduling: + nodeSelector: + katacontainers.io/kata-runtime: "true" diff --git a/tools/packaging/kata-deploy/runtimeclasses/kata-runtimeClasses.yaml b/tools/packaging/kata-deploy/runtimeclasses/kata-runtimeClasses.yaml index d5c48c8416..cc3fe0c61b 100644 --- a/tools/packaging/kata-deploy/runtimeclasses/kata-runtimeClasses.yaml +++ b/tools/packaging/kata-deploy/runtimeclasses/kata-runtimeClasses.yaml @@ -128,3 +128,16 @@ overhead: scheduling: nodeSelector: katacontainers.io/kata-runtime: "true" +--- +kind: RuntimeClass +apiVersion: node.k8s.io/v1 +metadata: + name: kata-remote +handler: kata-remote +overhead: + podFixed: + memory: "120Mi" + cpu: "250m" +scheduling: + nodeSelector: + katacontainers.io/kata-runtime: "true"