Skip to content

[Multi-SLB] support ip sharing across multiple services #9867

@nilo19

Description

@nilo19

What happened:

Service A has been created to use IP 1. Now we want to create a service B point to the same IP. During the lb selection phase of service B, it will select another LB with less existing services than service A's LB. Since the LB selected is a different one, LB migration logic will be triggered, and the service A's frontend IP config will be removed by accident.
https://github.com/kubernetes-sigs/cloud-provider-azure/blob/master/pkg/provider/azure_loadbalancer.go#L846

What you expected to happen:

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

Anything else we need to know?:

Environment:

  • Kubernetes version (use kubectl version):
  • Cloud provider or hardware configuration:
  • OS (e.g: cat /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Network plugin and version (if this is a network-related bug):
  • Others:

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions