kubernetes-sigs / cloud-provider-azure

Cloud provider for Azure
https://cloud-provider-azure.sigs.k8s.io/
Apache License 2.0
256 stars 268 forks source link

Cannot deploy Controller Manager #6201

Open tfontana1 opened 1 month ago

tfontana1 commented 1 month ago

What happened:

We have created a new rke2 cluster and we want to deploy the Azure cloud provider using the helm chart. The cloud controller manager fails to launch saying "0/8 nodes are available: 8 node(s) didn't match Pod's node affinity/selector. preemption: 0/8 nodes are available: 8 Preemption is not helpful for scheduling."

The node managers deploy successfully but the controller manager fails to deploy.

What you expected to happen:

Azure cloud provider deploys successfully.

How to reproduce it (as minimally and precisely as possible):

Install with helm, following the documentation instructions it fails right away.

Anything else we need to know?:

We are running RKE2 in azure VM's (We are not using AKS)

Environment:

nilo19 commented 6 days ago

Capz uses helm to deploy cloud-controller-manager so this should work. Can you share more information for example, node affinities, selectors and pod description?