Files
kata-containers/tests/integration/kubernetes/runtimeclass_workloads/pod-sysctl.yaml
Manuel Huber b38ca059d9 tests: pin identity in policy workloads
Add explicit securityContext values to static Kubernetes policy
workloads whose generated policy now includes image-derived identity
data.

Refresh existing guest-pull comments to point at the Limitations
documentation instead of the old issue link.

Signed-off-by: Manuel Huber <manuelh@nvidia.com>
Assisted-by: OpenAI Codex <codex@openai.com>
2026-06-25 23:40:36 +00:00

29 lines
638 B
YAML

#
# Copyright (c) 2019 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
apiVersion: v1
kind: Pod
metadata:
name: sysctl-test
spec:
runtimeClassName: kata
securityContext:
supplementalGroups: [10]
sysctls:
- name: kernel.shm_rmid_forced
value: "0"
containers:
- name: test
securityContext:
privileged: true
image: quay.io/prometheus/busybox:latest
command: ["tail", "-f", "/dev/null"]
initContainers:
- name: init-sys
securityContext:
privileged: true
image: quay.io/prometheus/busybox:latest
command: ['sh', '-c', 'echo "64000" > /proc/sys/vm/max_map_count']