Skip to content
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

Double ip assignment and unwished removal #1

Open
sinicis opened this issue Nov 30, 2021 · 0 comments
Open

Double ip assignment and unwished removal #1

sinicis opened this issue Nov 30, 2021 · 0 comments

Comments

@sinicis
Copy link

sinicis commented Nov 30, 2021

Description

Existing service with type LoadBalancer and the example ip 10.10.10.10 assigned. Another service type LoadBalancer is created with the annotation linkyard.ch/existing-floating-ip: 10.10.10.10. The slb controller will then assign the ip address to the newly created service. If the newly created service is deleted, the slb controller will delete the floating ip address on cloudscale even though it's still in use.

Issue Type
Bug

Wished behaviour

If the floating IP address is already in use it shall not be assigned to the newly created service. Instead an error message like floating ip x.x.x.x is already assigned to service namespace/service. As soon as it's available, the ip address is then assigned.

Further notes

Think about a delayed deletion. If a service gets accidentally deleted it would be nice if the floating ip address is not deleted immediately and can be regained within e.g. 15 minutes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant