github.com/kata-containers/tests@v0.0.0-20240307153542-772105b56064/integration/kubernetes/runtimeclass_workloads/pod-cpu.yaml (about) 1 # 2 # Copyright (c) 2018 Intel Corporation 3 # 4 # SPDX-License-Identifier: Apache-2.0 5 # 6 apiVersion: v1 7 kind: Pod 8 metadata: 9 name: constraints-cpu-test 10 spec: 11 terminationGracePeriodSeconds: 0 12 runtimeClassName: kata 13 containers: 14 - name: first-cpu-container 15 image: quay.io/prometheus/busybox:latest 16 command: 17 - sleep 18 - "30" 19 resources: 20 limits: 21 cpu: "1" 22 requests: 23 cpu: "500m"