github.com/kata-containers/tests@v0.0.0-20240307153542-772105b56064/integration/kubernetes/runtimeclass_workloads/pod-number-cpu.yaml (about) 1 # 2 # Copyright (c) 2019 Intel Corporation 3 # 4 # SPDX-License-Identifier: Apache-2.0 5 # 6 apiVersion: v1 7 kind: Pod 8 metadata: 9 name: cpu-test 10 spec: 11 terminationGracePeriodSeconds: 0 12 runtimeClassName: kata 13 containers: 14 - name: c1 15 image: quay.io/prometheus/busybox:latest 16 command: ["tail", "-f", "/dev/null"] 17 resources: 18 limits: 19 cpu: "500m" 20 - name: c2 21 image: quay.io/prometheus/busybox:latest 22 command: 23 - sleep 24 - "10" 25 resources: 26 limits: 27 cpu: "500m"