Pod with limit
Create a pod definition that requests for CPU more than 200m and less than 800m
vim pod-with-cpu-within-range.yml
apiVersion: v1
kind: Pod
metadata:
name: pod-with-cpu-within-range
spec:
containers:
- name: pod-with-cpu-within-range
image: nginx
resources:
limits:
cpu: "800m"
requests:
cpu: "500m"List the existing pods and create a new pod with the file created in the above step.
kubectl get pods
kubectl create -f pod-with-cpu-within-range.yml
kubectl get pods
kubectl describe pod pod-with-cpu-within-range



