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
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.