From 410aff7d4776587c84a3944dc81fc583a1f8383f Mon Sep 17 00:00:00 2001 From: roc Date: Wed, 11 Sep 2024 11:05:35 +0800 Subject: [PATCH] update at 2024-09-11 11:05:35 --- .../best-practices/graceful-shutdown/lb-to-pod-directly.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/best-practices/graceful-shutdown/lb-to-pod-directly.md b/content/best-practices/graceful-shutdown/lb-to-pod-directly.md index 50cc32b..4ad5a1e 100644 --- a/content/best-practices/graceful-shutdown/lb-to-pod-directly.md +++ b/content/best-practices/graceful-shutdown/lb-to-pod-directly.md @@ -38,6 +38,12 @@ ingress.cloud.tencent.com/enable-grace-shutdown: "true" > 参考官方文档 [Ingress 优雅停机](https://cloud.tencent.com/document/product/457/60065) +:::tip[说明] + +TKE 新版的 service/ingress 控制器(2.2.1 以上)已默认强制开启该功能,注解已废弃。可分别通过 `kubectl -n kube-system get cm tke-service-controller-config -o yaml` 和 `kubectl -n kube-system get cm tke-ingress-controller-config -o yaml` 命令查看控制器版本(`VERSION` 字段)。 + +::: + ### ACK 阿里云 ACK 目前只针对四层 Service 提供了解决方案,通过注解开启优雅中断与设置中断超时时间: