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

Issue #86 remove VIP upon stop - haproxy-keepalived #123

Merged
merged 1 commit into from
Aug 22, 2023

Conversation

instantlinux
Copy link
Owner

Summary of Changes

Catch the SIGTERM signal to shut down keepalived properly upon container termination.

Why is this change being made?

To address bug report from @breezytm:

keepalive is failing to remove the network from the master causing the load balancing to fail during a failover. I reached out to keepalived team and here's what they said is the root cause. acassen/keepalived#2201 (comment)

How was this tested? How can the reviewer verify your testing?

Local test: built image, launched and invoked docker stop keepalived_app_1.

Completion checklist

  • The pull request is linked to all related issues
  • This change has unit test coverage
  • Documentation has been updated
  • Dependencies have been updated and verified

@instantlinux instantlinux merged commit 54569d8 into main Aug 22, 2023
1 check passed
@instantlinux instantlinux deleted the ISS-86_haproxy branch August 22, 2023 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant