-
Notifications
You must be signed in to change notification settings - Fork 50
Conversation
Please do not merge yet, due to some ongoing test activities. |
Can you explain again how this needs to be done? I as an end-user need to delete all my load balancer services, ok. What happens if I create new services of type load balancer (without deleting the old ones (because I don't want to?)).
What does this mean? When this change is rolled out then the cloud provider config is updated for all existing clusters automatically. I don't understand this part. Does this configuration work for all Kubernetes versions (1.10.x - 1.15.x)? |
The k8s Azure cloud provider maintain only one loadbalancer on the infra for all lb services. Even if the cloud-provider-config has already the If you add new lb services without removing all lb services before then k8s will still maintain the existing
This is not really needed if the user recreates also the Gardener managed lb services e.g.
yes Please consider this all as work in progress. Let's discuss if we need to implement migration paths within the azure extension to move from |
OK, great, thanks for the explanation!
I don't think we can implement anything because we don't know when the user wants to migrate (if he/she wants to at all). I think the solution you described is good: If the user wants to migrate, simply delete all load balancer services (also ours in the
Same, I think your solution is good if this really works for all Kubernetes versions. Let's keep it like this. |
Ok Update: Therefore I see possible options:
|
Any plan going forward? If not yet and further design discussions are needed, can we close the PR and continue in an issue? |
Yes, let's close it for the moment. Will reopen it when we have a decission and continue to work on it. |
OK, thanks 👍 |
Reopened this PR. @AndreasBurger Could you please have a look and test also the upgrade procedure? |
controllers/provider-azure/pkg/controller/controlplane/valuesprovider.go
Outdated
Show resolved
Hide resolved
Seems that some tests for the Azure Provider extension does not work. I will fix this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested; lgtm
What this PR does / why we need it:
As prerequisite to support Availability Zones on Azure (#135) we need to move to LoadBalancers with the
standard
SKU instead of thebasic
SKU, because only this type of LoadBalancer supports load balancing across zones.Which issue(s) this PR fixes:
Fixes #207
Special notes for your reviewer:
Update the
ControllerRegistration
for the Azure Provider extension to use a custom build image which contains this PR (dominickistner/gardener-extension-hyper:0.11.0-az-standard-lb).After the Azure extensions on the Seed cluster are updated, create an Azure Shoot and check after creation has been completed, if the LoadBalancer is of sku
standard
.To test the upgrade procedure. Create upfront an Azure Shoot with basic LoadBalancer SKU.
Then upgrade the
ControllerRegistration
as above described and follow the instruction in the guide controllers/provider-azure/docs/migrate-loadbalancer.mdRelease note: