mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-05-17 04:52:23 +00:00
Do not kill containers immediately, instead use Kubernetes' default termination grace period. Signed-off-by: Manuel Huber <manuelh@nvidia.com>
24 lines
464 B
YAML
24 lines
464 B
YAML
# Copyright (c) 2024 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: deploymenttest
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
purpose: pod-test
|
|
replicas: 2
|
|
template:
|
|
metadata:
|
|
labels:
|
|
purpose: pod-test
|
|
spec:
|
|
runtimeClassName: kata
|
|
containers:
|
|
- name: pod-test
|
|
image: quay.io/prometheus/busybox:latest
|
|
command: ["tail", "-f", "/dev/null"]
|