Skip to main content
Remember a SpringBoot graceful shutdown failure problem

​

Summary

Recently, the production environment EKS (Elastic Kubernetes Service) occasionally has the problem of POD being forcibly killed.

The project is the SpringBoot framework, which starts graceful shutdown and configures a shutdown duration of 120 seconds. Since it was forcibly killed, it must be because the application was not stopped normally within 120 seconds.


Mr.ChenAbout 3 minarticleJavaSpring Boot
Simple SpringBoot example

​

Spring Boot

Since my friend rewrote the code, it took him more than an hour to get started quickly and build a simple springboot application. Finally, he finished writing a simple springboot-demo and started it directly on eclipse. Now share it with A friend in need. See the source code address at the end of the article, the operation steps are as follows:


Mr.ChenLess than 1 minutearticleJavaSpring Boot