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,980 points
2,729 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,300 points

Related Questions In Kubernetes

0 votes
2 answers
0 votes
1 answer
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, 2019 in Kubernetes by Ramya
4,720 views
0 votes
1 answer

Taint and tolerance in Kubernetes 1.6

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

answered Jun 27, 2019 in Kubernetes by Yamini
1,376 views
+1 vote
1 answer
0 votes
3 answers

Error while joining cluster with node

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

answered Jan 17, 2019 in Others by anonymous
15,477 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,036 views
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, 2019 in Kubernetes by ajs3033
• 7,300 points
27,960 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,300 points
2,467 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP