mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-03-18 10:44:10 +00:00
Do not kill containers immediately, instead use Kubernetes' default termination grace period. Signed-off-by: Manuel Huber <manuelh@nvidia.com>
26 lines
454 B
YAML
26 lines
454 B
YAML
#
|
|
# Copyright (c) 2019 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
apiVersion: v1
|
|
kind: ReplicationController
|
|
metadata:
|
|
name: replicationtest
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
app: nginx-rc-test
|
|
template:
|
|
metadata:
|
|
name: nginx
|
|
labels:
|
|
app: nginx-rc-test
|
|
spec:
|
|
runtimeClassName: kata
|
|
containers:
|
|
- name: nginxtest
|
|
image: ${NGINX_IMAGE}
|
|
ports:
|
|
- containerPort: 80
|