Hi Guys,
I need to understand something in chapter 6 first lab "selfservice-quotas"
why when scaling the deployment up to 3 or 4 or less than 6 pods, only 2 are running and the others are in pending state. However the cluster has 6 CPU and in the lab we request each container to 1 CPU?!!, so if anyone can helo me understand this.
@Mohamed_Nabawy when you do oc describe node - you see these details :
The node possesses a total of 6 physical CPU cores. However, only 5500 millicores (5.5 CPU cores) are designated as "allocatable" for pods, as a portion of the CPU capacity is reserved for essential system services.
Currently, pods have collectively requested (reserved) 4627 millicores (4.627 CPU cores). This means that a mere 873 millicores (0.873 CPU cores) remain available for scheduling new pods. Consequently, when you attempted to scale to 8 replicas, some pods were unable to be scheduled because deploying them would have exceeded the remaining schedulable CPU limit on the node.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.