Kubernetes - node capacity

2/12/2016

I'm running a small node in gcloud with 2 pods running. Google cloud console shows all resources utilization

<40% cpu utilization

about 8k n\w bytes

about 64 disk bytes.

When adding the next pod, it fails with below error.

FailedScheduling:Failed for reason PodExceedsFreeCPU and possibly others

Based on the numbers I see in google console, ~60% CPU is available. is there anyway to get more logs? Am I missing something obvious here?

Thanks in advance !

-- Sahas
kubernetes

1 Answer

2/12/2016

As kubernetes reserve some space if more cpu or memory is needed you should check the capacity allocated by the cluster instead of the utilization.

kubectl describe nodes

You can find a deeper description about the capacity of the nodes in: http://kubernetes.io/docs/user-guide/compute-resources/

-- agares
Source: StackOverflow