oci-cloud-controller-manager icon indicating copy to clipboard operation
oci-cloud-controller-manager copied to clipboard

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

Open akhayyat opened this issue 7 months ago • 0 comments

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?

akhayyat avatar Sep 20 '25 11:09 akhayyat