-
Notifications
You must be signed in to change notification settings - Fork 24
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
Addressing downscaling pools with addresses in range #117
Comments
I'm not sure if conditions (or other status) on IPAddress objects is a good idea. It spreads information around quite a bit. I'd prefer to just add validation, and maybe a status field in case it does happen anyway. |
I agree with your position @schrej. Side note: |
Is there any interest in this feature? Because if there isn't, then it might make sense to postpone it until someone requires this to be implemented. |
@schrej I'm not sure I understand what you're suggesting gets postponed? These are options that I see:
Are there other options? are you leaning towards any option? |
Sorry, I was thinking about your side note too much I think. I mean that we should postpone a solution for downsizing pools with allocated IPs outside of the pool afterwards. |
Context
We see that pools can be updated without regard for what IPs are in use. This can lead to situations where IPs can become out of range of the pool's configuration.
Potential Solution
We are thinking of adding validation in the webhook that would check if there is an IP address that is already allocated before allowing it to be removed from the pool. This continues to allow configuration of the pool, but prevents an IP Address that is in use to be removed from the pool.
We are also thinking of adding an
outOfRange
status count on the pool status (similar to #112) to expose potential issues if it already happens to have out of range IPs. This is mostly considering the case of updates to the pool that may have occurred without the webhook validation.In addition to the
outOfRange
status count on the pool we could also add an outOfRange status condition on the IPAddress.The text was updated successfully, but these errors were encountered: