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>
23 lines
399 B
YAML
23 lines
399 B
YAML
#
|
|
# Copyright (c) 2018 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: constraints-cpu-test
|
|
spec:
|
|
runtimeClassName: kata
|
|
containers:
|
|
- name: first-cpu-container
|
|
image: quay.io/prometheus/busybox:latest
|
|
command:
|
|
- sleep
|
|
- "infinity"
|
|
resources:
|
|
limits:
|
|
cpu: "1"
|
|
requests:
|
|
cpu: "500m"
|