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>
28 lines
567 B
YAML
28 lines
567 B
YAML
#
|
|
# Copyright (c) 2019 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: sharevol-kata
|
|
spec:
|
|
runtimeClassName: kata
|
|
containers:
|
|
- name: test
|
|
image: quay.io/prometheus/busybox:latest
|
|
command: ["tail", "-f", "/dev/null"]
|
|
volumeMounts:
|
|
- name: host-empty-vol
|
|
mountPath: "/host/cache"
|
|
- name: memory-empty-vol
|
|
mountPath: "/tmp/cache"
|
|
volumes:
|
|
- name: host-empty-vol
|
|
emptyDir: {}
|
|
- name: memory-empty-vol
|
|
emptyDir:
|
|
medium: Memory
|
|
sizeLimit: "50M"
|