cancel
Showing results for 
Search instead for 
Did you mean: 
  • 1,248 Views

lab grade compreview-apps script fails if "cpu" is defined instead of "requests.cpu" in quota

Jump to solution

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
    ...


Labels (1)
1 Solution

Accepted Solutions
Chetan_Tiwary_
Community Manager
Community Manager
  • 1,237 Views

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 !

View solution in original post

2 Replies
Chetan_Tiwary_
Community Manager
Community Manager
  • 1,238 Views

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 !

  • 1,225 Views

Hi @Chetan_Tiwary_ don't forget the same thing for memory instead of requests.memory.

Thanks!

Join the discussion
You must log in to join this conversation.