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,270 points
200 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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,040 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
285 views
+5 votes
2 answers

Redirecting host to service path in kubernetes

What you are trying to do is ...READ MORE

answered Mar 27, 2018 in Kubernetes by DragonLord999
• 8,360 points
51 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
489 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,040 points
676 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,040 points
170 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.