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,422 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,445 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,156 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
14,587 views
+4 votes
1 answer

Installing Web UI (Dashboard):kubernetes-dashboard on main Ubuntu 16.04.6 LTS (Xenial Xerus) server

Follow these steps: $ kubeadm reset $ kubeadm init ...READ MORE

answered Apr 12, 2019 in Kubernetes by Kalgi
• 52,360 points

reshown Apr 12, 2019 by Kalgi 6,072 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,297 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,226 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