website/docs/tasks/configure-pod-container/cpu-request-limit-2.yaml

17 lines
237 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: cpu-demo-2
spec:
containers:
- name: cpu-demo-ctr-2
image: vish/stress
resources:
limits:
cpu: "100"
requests:
cpu: "100"
args:
- -cpus
- "2"