Skip to content

Deployment stuck due to nodeSelector.node-role.kubernetes.io/control-plane value #511

@akhayyat

Description

@akhayyat

I encountered this issue while deploying both CCM and CSI.

In the CCM manifest:

spec:
  nodeSelector:
    node-role.kubernetes.io/control-plane: ""

Similarly, in the CSI controller manifest:

spec:
  nodeSelector:
    node-role.kubernetes.io/control-plane: ""

In my cluster, control-plane nodes have the label:

node-role.kubernetes.io/control-plane: "true"

which caused both CCM and CSI controllers to not find any nodes. After patching their node selectors to be:

spec:
  nodeSelector:
    node-role.kubernetes.io/control-plane: "true"

everything worked right away.

How can I get CCM and CSI to work without having to patch them?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions