Create cpu-constraints-pod.yaml

This commit is contained in:
Sabbir Ahmed Shameem 2024-05-05 22:03:50 +06:00 committed by GitHub
parent 04105130d3
commit d559a22c24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
apiVersion: v1
kind: Pod
metadata:
name: constraints-cpu-demo
spec:
containers:
- name: constraints-cpu-demo-ctr
image: nginx
resources:
limits:
cpu: "800m"
requests:
cpu: "500m"