POD上线方式:
POD上线只需要配置健康检查,即可避免流量损失
POD下线方式:
带lifecycle preStop的POD下线
参考资料:
[https://yuerblog.cc/2019/12/11/k8s-%E5%A6%82%E4%BD%95%E5%B9%B3%E6%BB%91%E5%8F%91%E5%B8%83%E5%BA%94%E7%94%A8%EF%BC%9F/](https://yuerblog.cc/2019/12/11/k8s-%E5%A6%82%E4%BD%95%E5%B9%B3%E6%BB%91%E5%8F%91%E5%B8%83%E5%BA%94%E7%94%A8%EF%BC%9F/)
https://cloud.tencent.com/developer/article/1487797