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 set stopsignal in haproxy-keepalived image #124

Merged
merged 1 commit into from
Aug 22, 2023

Conversation

instantlinux
Copy link
Owner

@instantlinux instantlinux commented Aug 22, 2023

Summary of Changes

Define the STOPSIGNAL in haproxy-keepalived image.

Why is this change being made?

Kubernetes must be told explicitly what signal to use; by default the stopsignal is SIGUSR1 and it should be SIGTERM.

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

Local test: built image, launched under helm, then helm delete haproxy-keepalived. Can now see the log message Received SIGTERM prior to container shutdown. (Still not working fully, though - the VIP isn't getting torn down despite the script apparently reaching the correct function.)

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 1e7721c into main Aug 22, 2023
1 check passed
@instantlinux instantlinux deleted the ISS-86_stopsignal branch August 22, 2023 17:42
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