I have a pod with a node selector that doesn't match any nodes. In `oc describe` the message I get is: 17m 4m 48 default-scheduler Warning FailedScheduling 0/98 nodes are available: 82 Insufficient memory, 98 MatchNodeSelector. If I read this it says 0/98 nodes are available. There is Insufficient Memory on 82 of those 98 nodes. 98 of those nodes match my node selector. I would like that text to change to (a) use human readable words (MatchNodeSelector should be "match NodeSelector") (b) include a negation ("98 Do not match NodeSelector") or ("0 match NodeSelector)
Avesh, PTAL.
(In reply to Eric Paris from comment #0) > I have a pod with a node selector that doesn't match any nodes. In `oc > describe` the message I get is: > > 17m 4m 48 default-scheduler Warning FailedScheduling 0/98 nodes are > available: 82 Insufficient memory, 98 MatchNodeSelector. > > > If I read this it says 0/98 nodes are available. > There is Insufficient Memory on 82 of those 98 nodes. > 98 of those nodes match my node selector. > > I would like that text to change to > (a) use human readable words (MatchNodeSelector should be "match > NodeSelector") > (b) include a negation ("98 Do not match NodeSelector") or ("0 match > NodeSelector) Sgtm. will send something to kube upstream.
This is already been done upstream for 1.10: https://github.com/kubernetes/kubernetes/pull/58999 We should have this in 3.10 via the rebase.
Checked on atomic-openshift-3.9.27-1.git.0.964617d.el7 and the issue is not fixed yet.
Sorry, target release was wrong. Fixed in 3.10.
Checked with # oc version oc v3.10.0-0.58.0 kubernetes v1.10.0+b81c8f8 features: Basic-Auth GSSAPI Kerberos SPNEGO Server https://qe-wjiang-310r5-2-master-etcd-1:8443 openshift v3.10.0-0.58.0 kubernetes v1.10.0+b81c8f8 And the issue should be fixed Warning FailedScheduling 11s (x6 over 26s) default-scheduler 0/2 nodes are available: 2 Insufficient cpu. Warning FailedScheduling 14s (x6 over 29s) default-scheduler 0/2 nodes are available: 2 node(s) didn't have free ports for the requested pod ports.