mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-12 18:46:35 +00:00
Do not kill containers immediately, instead use Kubernetes' default termination grace period. Signed-off-by: Manuel Huber <manuelh@nvidia.com>
18 lines
365 B
YAML
18 lines
365 B
YAML
#
|
|
# Copyright (c) 2021 Apple Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: pod-caps
|
|
spec:
|
|
runtimeClassName: kata
|
|
containers:
|
|
- name: test-container
|
|
image: quay.io/prometheus/busybox:latest
|
|
command: ["sh"]
|
|
args: ["-c", "cat /proc/self/status | grep Cap && sleep infinity"]
|
|
restartPolicy: Never
|