Skip to content

Exit on SIGTERM for Kubernetes, print startup message #28

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 1 commit into from
Oct 25, 2017
Merged

Exit on SIGTERM for Kubernetes, print startup message #28

merged 1 commit into from
Oct 25, 2017

Conversation

cmur2
Copy link
Contributor

@cmur2 cmur2 commented Oct 25, 2017

SIGINT is nice for interactive sessions and daemons but for Docker and especially Kubernetes a graceful exit on SIGTERM is required otherwise the shutdown is delayed by 30 seconds until the container is killed.

@vl-homutov vl-homutov merged commit b5de9a5 into nginxinc:master Oct 25, 2017
@AndreaGiardini AndreaGiardini deleted the kubernetes branch October 25, 2017 09:38
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.

2 participants