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

slefservice-quotas LAB

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.

1 Reply
Chetan_Tiwary_
Community Manager
Community Manager
  • 198 Views

@Mohamed_Nabawy  when you do oc describe node - you see these details : 

Chetan_Tiwary__0-1750798654309.png

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.

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