-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Changed the Deployment strategy to 'Recreate' so multiple external-dns pods don't conflict with each other. #2772
Conversation
Welcome @mac-chaffee! |
@mac-chaffee this change would be detrimental to the chart, the Also the notes on the change you mentioned say that both types will be supported so I'm not sure why we even need to consider a change here? If you want to continue with this PR I'll do a more in-depth review on the changes? |
Rebased, should be good to go now, preferably soon so I don't have to update the release note date ;) |
@mac-chaffee I don't think that changing the default chart deployment strategy is necessarily a good idea; do you have an example of what you think could happen and what the actual impact would be? I'm happy for the strategy to be configurable, although IMHO implementing #2430 would be a better solution. |
I think the reason why #2430 exists at all (instead of just increasing I agree doing leader election would be better, but until that's implemented, I think we're subjecting users to unnecessary risk whenever they do upgrades. Regardless, I think the only downside of this change is that there might be an extra few seconds between syncs after an upgrade since we have to wait for the new pod to start. Do you see a bigger downside? |
@mac-chaffee I've just checked the YAML in the examples and it looks like the current chart behaviour isn't consistent with this and your PR will align the behaviour. Just to point out that another downside of recreate is that there is no guarantee that there will be a running pod at the end if there aren't enough resources (rollback wont even fix this) or if the new configuration is invalid. @Raffo could you enable the workflow? /approve |
@mac-chaffee could you please remove the changes to Chart.yaml from this PR as multiple PRs will be combined for the release (#2916). |
/remove-approve |
@mac-chaffee I'd like to get this merged and into the upcoming release, could you take a look a this? |
so multiple external-dns pods don't conflict with each other. Signed-off-by: Mac Chaffee <[email protected]>
Sorry, work has been busy! |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mac-chaffee, Raffo The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description
Before the new record format rolls out, it would probably be a good idea to ensure only one external-dns pod is running at that time to avoid any risk of conflicts.
Checklist