Skip to content
This repository was archived by the owner on Dec 27, 2020. It is now read-only.
This repository was archived by the owner on Dec 27, 2020. It is now read-only.

Migrate graceful shutdown into app framework #67

@alldroll

Description

@alldroll

From https://cloud.google.com/blog/products/gcp/kubernetes-best-practices-terminating-with-grace

It's important that an application handles termination gracefully so that there is minimal impact on the end-user and the time-to-recovery is as fast as possible! In practice, this means your application needs to handle the SIGTERM message and begin shutting down when it receives it. This means saving all data that needs to be saved, closing down network connections, finishing any work that is left, and other similar tasks

We have already implemented this feature here. It is time to migrate this feature into app framework in order to provide graceful shutdown for other services.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions