Skip to content

Node selectors in namespaces break local manifest files #5451

Closed

Description

@mrosic

If I edit the default namespace and give it a selector like this:
"oc edit ns/default"
metadata:
annotations:
openshift.io/node-selector: role=testing

then the fluentd-elasticsearch pod described in https://docs.openshift.org/latest/admin_guide/aggregate_logging.html won't start.
"oc get po" won't show the pod at all.
"oc get po -w" will spam me with:
"fluentd-elasticsearch-mydomain.com 0/1 Pending 0 0s"

Everything in my setup is exactly as described in https://docs.openshift.org/latest/admin_guide/aggregate_logging.htm
But as soon as I add a node selector with "oc edit ns/default" the fluentd-pods refuse to start. If I remove the node selector from the namespace definition the pods start up and everthing is fine.

It does not make any difference what node selector is used, any entry should be enough to show the described behavoir.

Activity

  1. liggitt commented on Oct 28, 2015

    @liggitt
    Contributor

    Might be related to kubernetes/kubernetes#15983 which we need to cherry-pick...

  2. smarterclayton commented on Oct 29, 2015

    @smarterclayton
    Contributor

    cherry-picking merged commits is now much easier...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions