Kubernetes: Insufficient CPU's and MatchNodeSelector in Openshift.

0 votes

I am using openshift v3 which running my project. One of the apps which worked fine suddenly stopped working after a GitHub commit downstream in the code. The issue is with creating a pod:

No nodes are available that match all of the following predicates::
 Insufficient cpu (173), MatchNodeSelector (5). 

I tried scaling down other pods to check if there's some other setting interfering or other but it's still the same. Is it Openshift that has run out of CPU's or have I configured some setting that it is requesting 172 CPU's and 5 more nodes.

Sep 7, 2018 in Kubernetes by Damon Salvatore
• 5,490 points
240 views

1 answer to this question.

0 votes
That error message does not mean that the pod is requesting 172 CPU's from you. What it actually means, is that it failed to schedule on 173 machines where there wasn't enough CPU compute left while it wasn't able to schedule on the other 5 because the nodes didn't have the labels that were specified in the pod spec.
answered Sep 7, 2018 by ajs3033
• 7,240 points

Related Questions In Kubernetes

0 votes
2 answers
0 votes
2 answers

Difference between a Deployment and a DaemonSet in Kubernetes

Adding to @Rohit's answer, I'll explain about ...READ MORE

answered Jan 6 in Kubernetes by Ramya
534 views
0 votes
1 answer

Taint and tolerance in Kubernetes 1.6

Hey @Greg, Taint can be considered as ...READ MORE

answered Jun 27 in Kubernetes by Yamini
20 views
0 votes
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17 in Others by anonymous
1,150 views
+3 votes
1 answer
0 votes
1 answer

Set volume mount user group and file permissions in kubernetes

There's a setting in Pod Security Context ...READ MORE

answered Jan 16 in Kubernetes by ajs3033
• 7,240 points
1,188 views
0 votes
1 answer

How to use gravitational teleport in a container/kubernetes environment?

You can use teleport to augment kubernetes ...READ MORE

answered Jun 28, 2018 in Kubernetes by ajs3033
• 7,240 points
258 views