-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating Service type LoadBalancer does not work with "disableAzureStackCloud": false configured #5282
Comments
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
What happened:
When creating a simple service type load balancer like:
With CCM version running
v1.28.4
and configured with"disableAzureStackCloud": false
, CCM produces following error in logs:This seems to be caused by hardcoding API version for azure stack cloud, here:
cloud-provider-azure/pkg/azureclients/loadbalancerclient/interface.go
Line 31 in 9e9079e
What you expected to happen:
Service type load balancer to properly get IP address assigned.
How to reproduce it (as minimally and precisely as possible):
Deploy CCM with:
"cloud": "AzureStackCloud",
and"disableAzureStackCloud": false
.AZURE_ENVIRONMENT_FILEPATH=azurestackcloud.json
environment variable, pointing to the right file.The text was updated successfully, but these errors were encountered: