Java应用优雅停机随记
来自三线的随记
应用自适应(对kill 信号(kill -2 / kill -15) 做出相应的响应)
k8s平台配合
- 应用暴露endpoint
- k8s lifecycle postop 执行操作
https://www.cnblogs.com/harrychinese/p/SpringBoot-graceful-shutdown.html
https://www.cnblogs.com/harrychinese/p/SpringBoot-graceful-shutdown.html