Skip to content

better backwards compatibility with old DNS name format for LBs #2171

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

Merged
merged 4 commits into from
Jan 17, 2023

Conversation

FxKu
Copy link
Member

@FxKu FxKu commented Jan 13, 2023

With #2011 we changed the default DNS name format template used when LoadBalancers are enabled. For backwards compatibility we are already appending a second DNS entry when the cluster name still starts with the team Id (mandatory before #2001), because we do not want to break existing connections.

For the old format we only assumed the default template value "{cluster}.{team}.{hostedzone}". There's no option to specify what you have used before. If you have customized the template, all apps would need to be redeployed using the new DNS format. To avoid such a hassle this PR suggest to make the old format configurable with master|replica_old_dns_name_format options.

The unit test in cluster_test_go has be updated to also use a template different from the default value.

@FxKu FxKu added this to the 1.9 milestone Jan 13, 2023
@Jan-M
Copy link
Member

Jan-M commented Jan 16, 2023

👍

@FxKu
Copy link
Member Author

FxKu commented Jan 16, 2023

👍

1 similar comment
@idanovinda
Copy link
Member

👍

@FxKu FxKu merged commit 28cd2f1 into master Jan 17, 2023
@FxKu FxKu deleted the support-old-dns-format branch January 17, 2023 09:06
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

Successfully merging this pull request may close these issues.

3 participants