Hello All I am not able to understand the args section in the below pod spec. Wh . . .

pikachunetes:
Hello All
I am not able to understand the args section in the below pod spec.
When we have mentioned the limit and request for CPU, then what significance does the args has over here
Thanks
apiVersion: v1
kind: Pod
metadata:
name: cpu-demo
namespace: cpu-example
spec:
containers:
- name: cpu-demo-ctr
image: vish/stress
resources:
limits:
cpu: "1"
requests:
cpu: "0.5"
args:
- -cpus
- "2"

vikas mahajan:
Args pass the parameters to your container where as resources section would be managed by k8s. That’s my understanding !!

Mohamed Ayman:
That’s means that the default Entrypoint defined in the Docker image is run with the args that you supplied.

pikachunetes:
I understand the meaning of args but I am interested in the value that we have passed to the args i.e -cpus “2”. This is what confuses me