Create cpu-request-limit-2.yaml

This commit is contained in:
Sabbir Ahmed Shameem 2024-05-07 19:34:13 +06:00 committed by GitHub
parent f4683e1ad5
commit 5029b53544
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
name: cpu-demo-2
namespace: cpu-example
spec:
containers:
- name: cpu-demo-ctr-2
image: vish/stress
resources:
limits:
cpu: "100"
requests:
cpu: "100"
args:
- -cpus
- "2"