mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-13 11:49:44 +00:00
Do not kill containers immediately, instead use Kubernetes' default termination grace period. Signed-off-by: Manuel Huber <manuelh@nvidia.com>
22 lines
475 B
YAML
22 lines
475 B
YAML
#
|
|
# Copyright (c) 2021 Red Hat
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: seccomp-container
|
|
annotations:
|
|
io.katacontainers.config.runtime.disable_guest_seccomp: "false"
|
|
spec:
|
|
runtimeClassName: kata
|
|
restartPolicy: Never
|
|
containers:
|
|
- name: busybox
|
|
image: quay.io/prometheus/busybox:latest
|
|
command: ["grep", "Seccomp:", "/proc/self/status"]
|
|
securityContext:
|
|
seccompProfile:
|
|
type: RuntimeDefault
|