cancel
Showing results for 
Search instead for 
Did you mean: 
  • 161 Views

Question about Requests and Limits (DO180)

Hello,

i am Doing the OpenShift Admin (DO180) Course right now and I have a question about Resource Requests and Limits. I understood the basic functionality of requests and limits. However in the Course this Screenshot is shared.

 

 

 

 

[user@host ~]$ oc describe node master01
Name:               master01
Roles:              control-plane,master,worker
...output omitted...
Non-terminated Pods:                                (88 in total)
  ... Name           CPU Requests  CPU Limits  Memory Requests  Memory Limits ...
  ... ----           ------------  ----------  ---------------  -------------
  ... controller-... 10m (0%)      0 (0%)      20Mi (0%)        0 (0%)        ...
  ... metallb-...    50m (0%)      0 (0%)      20Mi (0%)        0 (0%)        ...
  ... metallb-...    0 (0%)        0 (0%)      0 (0%)           0 (0%)        ...
...output omitted...
Allocated resources:
  (Total limits may be over 100 percent, i.e., overcommitted.)
  Resource           Requests       Limits
  --------           --------       ------
  cpu                3183m (42%)    1202m (16%)
  memory             12717Mi (67%)  1350Mi (7%)
...output omitted...

 

 

 

 

My Question is, how is it possible that the limits are below the Requests? From what I've understood the Requests are what you expect your pods to consume and the limit is the maximum it actually can consume. In the course the requests are always set < limits.

How can the Control Plane Node have 42% CPU Requested but has a limit to 16%?

Same question goes for the 67% Mem Request while having Limits for it at 7%.

 

Thanks

Labels (2)
0 Kudos
0 Replies
Join the discussion
You must log in to join this conversation.