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

Strip externalIPs from services with type==LoadBalancer #11

Open
sseago opened this issue Aug 14, 2019 · 0 comments
Open

Strip externalIPs from services with type==LoadBalancer #11

sseago opened this issue Aug 14, 2019 · 0 comments

Comments

@sseago
Copy link
Collaborator

sseago commented Aug 14, 2019

For load-balanced services (i.e. spec.Type=="LoadBalancer"), externalIPs is set automatically by openshift/kubernetes. On restore, the old value isn't updated to reflect the new cluster's environment. If externalIPs are disabled, the result is a failed service restore. If they are enabled, then the result is just the wrong value for the resource.

At a minimum, we should strip externalIPs when type is LoadBalancer, since kubernetes will regenerate the value on restore.

For manually-managed externalIPs, we probably shouldn't do anything automatic, but we should document the issue. Users will need to check and potentially update these post-migration, and if they have externalIPs in the src cluster but have not enabled them in the dest cluster, they probably need to remove them prior to migrating.

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