[bug]: two deployments of provider of the same loadbalancer bounce
hicaistar opened this issue · comments
Shi Wang commented
Is this a BUG REPORT or FEATURE REQUEST?:
Uncomment only one, leave it on its own line:
/kind bug
/kind feature
What happened:
In a special circumstance, loadbalancer controller will generate two deployments of loadbalancer provider for the same loadbalancer. As we expect the code should choose one deployment and set the replica to '0', and it will be '0' forever. But what we got is:
- round1: set first one of deployment to '0'
- round2: set second one of deployement to '0', set first one deployment to '1'
- round3: set second one to '1', set first one to '0'
- recycle forever.....
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?: