Skip to content

Commit

Permalink
Merge pull request #53821 from rrati/apiserver-clean-shutdown
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue (batch tested with PRs 54145, 53821). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Added PreStopHooks to apiserver to allow clean shutdown.

BootStrapController now registers a PreStopHook to clean up the kubernetes service endpoints.  The PreStopHooks allow the apiserver to shutdown cleanly under a controlled shutdown case.  The BootStrapController's PreStopHook will clean up after itself by removing the apiserver from the list of IPs in the kubernetes service.

fixes #53438

Kubernetes-commit: 78ada62c3086f3d2e743b6e7cc696e390a619585
  • Loading branch information
k8s-publish-robot committed Oct 20, 2017
2 parents 27f82ce + ef5162a commit c3f2826
Show file tree
Hide file tree
Showing 5 changed files with 238 additions and 99 deletions.
Loading

0 comments on commit c3f2826

Please sign in to comment.