Files
kata-containers/tests/integration/kubernetes/runtimeclass_workloads/pod-shared-volume.yaml
Manuel Huber 6438fe7f2d tests: Remove terminationGracePeriod in manifests
Do not kill containers immediately, instead use Kubernetes'
default termination grace period.

Signed-off-by: Manuel Huber <manuelh@nvidia.com>
2026-01-23 16:18:44 -08:00

31 lines
740 B
YAML

#
# Copyright (c) 2019 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
apiVersion: v1
kind: Pod
metadata:
name: test-shared-volume
spec:
runtimeClassName: kata
restartPolicy: Never
volumes:
- name: shared-data
emptyDir: {}
containers:
- name: busybox-first-container
image: quay.io/prometheus/busybox:latest
volumeMounts:
- name: shared-data
mountPath: /tmp
command: ["/bin/sh"]
args: ["-c", "tail -f /dev/null"]
- name: busybox-second-container
image: quay.io/prometheus/busybox:latest
volumeMounts:
- name: shared-data
mountPath: /tmp
command: ["/bin/sh"]
args: ["-c", "echo Hello from the busybox-second-container > /tmp/pod-data && tail -f /dev/null"]