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>
27 lines
493 B
YAML
27 lines
493 B
YAML
#
|
|
# Copyright (c) 2018 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
kind: Pod
|
|
apiVersion: v1
|
|
metadata:
|
|
name: pv-pod
|
|
spec:
|
|
runtimeClassName: kata
|
|
nodeName: NODE
|
|
volumes:
|
|
- name: pv-storage
|
|
persistentVolumeClaim:
|
|
claimName: pv-claim
|
|
containers:
|
|
- name: pv-container
|
|
image: quay.io/prometheus/busybox:latest
|
|
ports:
|
|
command:
|
|
- sleep
|
|
- "120"
|
|
volumeMounts:
|
|
- mountPath: "/mnt/"
|
|
name: pv-storage
|