How to allow inflight requests to drain in an ASP.NET Core application?
Issue
- OpenShift sends SIGTERM when stopping a container, causing our ASP.NET Core application to abandon inflight requests
- How do I allow requests to complete gracefully when my ASP.NET Core application is stopping?
Environment
- Microsoft ASP.NET Core 2.1
- OpenShift Container Platform 3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.