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
- name: cpu-demo-ctr
Args pass the parameters to your container where as resources section would be managed by k8s. That’s my understanding !!
That’s means that the default Entrypoint defined in the Docker image is run with the args that you supplied.
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