Skip to content

RCs with empty selectors might not be behaving as expected #23

@mafraba

Description

@mafraba

It seems like by default selector and labels in a ReplicationController are populated from the podTemplate labels by default, if not specified.

Since we are automatically adding labels to RCs selector and pod template with a label containig kubeware's name and version, this means we could be breaking any deployment that is not specifying a selector assuming it will take the pod template's labels.

We should test this to be sure it's an issue, and if confirmed we should fix it so that the default behaviour is emulated when no selector specified in the RC.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions