mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-12 18:46:35 +00:00
Increase memory request/limit values used by k8s memory and QoS integration workloads so SNP/TDX static-sized sandboxes boot reliably under the new sizing defaults. Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.com>
23 lines
504 B
YAML
23 lines
504 B
YAML
#
|
|
# Copyright (c) 2018 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: memory-test
|
|
spec:
|
|
runtimeClassName: kata
|
|
containers:
|
|
- name: memory-test-ctr
|
|
image: quay.io/kata-containers/sysbench-kata:latest
|
|
imagePullPolicy: IfNotPresent
|
|
resources:
|
|
limits:
|
|
memory: "${memory_size}"
|
|
requests:
|
|
memory: "700Mi"
|
|
command: ["stress"]
|
|
args: ["--vm", "1", "--vm-bytes", "${memory_allocated}", "--vm-hang", "1"]
|