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>
27 lines
475 B
YAML
27 lines
475 B
YAML
#
|
|
# Copyright (c) 2019 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: cpu-test
|
|
spec:
|
|
runtimeClassName: kata
|
|
containers:
|
|
- name: c1
|
|
image: quay.io/prometheus/busybox:latest
|
|
command: ["tail", "-f", "/dev/null"]
|
|
resources:
|
|
limits:
|
|
cpu: "500m"
|
|
- name: c2
|
|
image: quay.io/prometheus/busybox:latest
|
|
command:
|
|
- sleep
|
|
- "10"
|
|
resources:
|
|
limits:
|
|
cpu: "500m"
|