kata-deploy: Keep Kata VMs inside the pod cgroup.

Kata's Go runtime only honours the systemd cgroup paths that kubelet
passes when sandbox_cgroup_only is true.  Without it, every VM ran in a
root-level cgroup named after the raw path, outside kubepods.slice, and
leaked it after the pod went away.

With the whole VM charged to the pod, raise the qemu RuntimeClass
overhead to cover the VM's 2 GiB base memory.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Change-Id: Ia305e4c5df1f67126b9c57c7a638bb096bec82e3
diff --git a/kata-deploy/90-mulk-sandbox-cgroup-only.toml b/kata-deploy/90-mulk-sandbox-cgroup-only.toml
new file mode 100644
index 0000000..a97fc57
--- /dev/null
+++ b/kata-deploy/90-mulk-sandbox-cgroup-only.toml
@@ -0,0 +1,13 @@
+# Installed on ifirn as
+# /opt/kata/share/defaults/kata-containers/runtimes/qemu/config.d/90-mulk-sandbox-cgroup-only.toml
+#
+# Kata's Go runtime only honours systemd-style cgroup paths
+# ("<slice>:cri-containerd:<id>") when sandbox_cgroup_only is true.  With
+# the default (false) and kubelet's systemd cgroup driver, it used the path
+# verbatim as a cgroupfs path, so every kata VM landed in a root-level cgroup
+# outside kubepods.slice and its shim in /kata_overhead, and both leaked
+# after the pod went away.
+#
+# A kata-deploy reinstall may replace /opt/kata; reinstall this file then.
+[runtime]
+sandbox_cgroup_only = true
diff --git a/kata-deploy/values.yaml b/kata-deploy/values.yaml
new file mode 100644
index 0000000..42f8ada
--- /dev/null
+++ b/kata-deploy/values.yaml
@@ -0,0 +1,16 @@
+# Helm values for release system/kata-deploy (chart 3.28.0):
+#
+#   helm upgrade kata-deploy oci://ghcr.io/kata-containers/kata-deploy-charts/kata-deploy \
+#     --version 3.28.0 -n system -f kata-deploy/values.yaml
+#
+# The host also needs kata-deploy/90-mulk-sandbox-cgroup-only.toml in
+# /opt/kata/share/defaults/kata-containers/runtimes/qemu/config.d/.
+shims:
+  qemu:
+    runtimeClass:
+      # With sandbox_cgroup_only = true the whole VM (default_memory = 2048 MiB
+      # plus the VMM and shim) is charged to the pod's cgroup, so the fixed
+      # overhead must cover the VM's base memory.
+      overhead:
+        memory: "2304Mi"
+        cpu: "250m"