kubernetes-sigs / cloud-provider-azure

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

Unable to create k8s service of type loadbalancer using internal load balancer #7200

Open gregmo2413 opened 2 weeks ago

gregmo2413 commented 2 weeks ago

After upgrading from Azure Cloud Controller Manager (CCM) version v1.27.17 to version v1.29.9, we are unable to create a new service of type 'Loadbalancer' using the internal load balancer 'kubernetes-internal'.

Please note that this is a self-managed k8s cluster, not one managed by AKS.

If the matter is security related, please disclose it privately via https://kubernetes.io/security/ -->

What happened:

We tried to create a service of type loadbalancer after upgrading the Azure CCM from version 1.27.17 to version v1.29.9. The service never transitioned past the pending state. Existing services of type loadbalancer using the internal load balancer remained operational.

What you expected to happen:

Create a service of type loadbalancer using an internal load balancer.

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

Create a new service of type loadbalancer configured to use an internal load balancer.

Anything else we need to know?:

Environment:

nilo19 commented 1 week ago

@gregmo2413 are you updating from nic-lb to multi-slb? If so, can you try to migrate from nic-lb to ip-based lb first, and enable the multi-slb afterwards?