kata-containers/tests/integration/kubernetes/runtimeclass_workloads/pod-confidential-unencrypted.yaml
Fabiano Fidêncio 18137b1583 tests: k8s: confidential: Increase log_buf_len to 4M
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 <fabiano@fidencio.org>
2025-01-23 12:04:13 +01:00

36 lines
778 B
YAML

# Copyright (c) 2023 Advanced Micro Devices, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
kind: Service
apiVersion: v1
metadata:
name: "confidential-unencrypted"
spec:
selector:
app: "confidential-unencrypted"
ports:
- port: 22
---
kind: Deployment
apiVersion: apps/v1
metadata:
name: "confidential-unencrypted"
spec:
selector:
matchLabels:
app: "confidential-unencrypted"
template:
metadata:
annotations:
io.katacontainers.config.hypervisor.kernel_params: "log_buf_len=4M"
labels:
app: "confidential-unencrypted"
spec:
runtimeClassName: kata
containers:
- name: "confidential-unencrypted"
image: ghcr.io/kata-containers/test-images:unencrypted-nightly
imagePullPolicy: Always