lab grade compreview-apps fails if "cpu" is defined instead of "requests.cpu" in ResourceQuota:
FAIL Validationg the quota in the workshop-support project
- CPU request None does not match expected 3500m
- CPU request None does not match expected 3Gi
Example:
spec:
hard:
cpu: 3500m
...
Normal "cpu" is equivalent to "requests.cpu" according to Kubernetes doc:
https://kubernetes.io/docs/concepts/policy/resource-quotas/
so the script should not fails for this.
If we mention "requests.cpu" the script works:
spec:
hard:
requests.cpu: 3500m
...
Hello @ltourreau1 !
Yes! I also think that cpu should be fine and so is requests.cpu. Let me check that for you and advise the development team to check that in the grading ( which is hard coded to match certain things ).
You know you can submit the feedback from your online portal also. Just click on the feedback button , fill in the details and submit !
Thanks for your time and feedback !
Hello @ltourreau1 !
Yes! I also think that cpu should be fine and so is requests.cpu. Let me check that for you and advise the development team to check that in the grading ( which is hard coded to match certain things ).
You know you can submit the feedback from your online portal also. Just click on the feedback button , fill in the details and submit !
Thanks for your time and feedback !
Hi @Chetan_Tiwary_ don't forget the same thing for memory instead of requests.memory.
Thanks!
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.