From 18137b1583be10394eac7a8c5de7c7bbc4b63fbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Thu, 23 Jan 2025 08:22:05 +0100 Subject: [PATCH] tests: k8s: confidential: Increase log_buf_len to 4M MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Relying on dmesg is really not ideal, as we may lose important info, mainly those which happen very early in the boot, depending on the size of kernel ring buffer. So, for this specific test, let's increase the kernel ring buffer, by default, to 4M. Signed-off-by: Fabiano FidĂȘncio --- .../runtimeclass_workloads/pod-confidential-unencrypted.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/integration/kubernetes/runtimeclass_workloads/pod-confidential-unencrypted.yaml b/tests/integration/kubernetes/runtimeclass_workloads/pod-confidential-unencrypted.yaml index 591d86de87..b1f9aedb8c 100644 --- a/tests/integration/kubernetes/runtimeclass_workloads/pod-confidential-unencrypted.yaml +++ b/tests/integration/kubernetes/runtimeclass_workloads/pod-confidential-unencrypted.yaml @@ -22,6 +22,8 @@ spec: app: "confidential-unencrypted" template: metadata: + annotations: + io.katacontainers.config.hypervisor.kernel_params: "log_buf_len=4M" labels: app: "confidential-unencrypted" spec: