From a9ef3b56098ff347d22235d997006d45b7a645f5 Mon Sep 17 00:00:00 2001 From: roc Date: Mon, 23 Jun 2025 16:03:09 +0800 Subject: [PATCH] upgrade tke-extend-network-controller to 2.3.0 Signed-off-by: roc --- .../tke-extend-network-controller/Chart.yaml | 4 +-- .../tke-extend-network-controller/README.md | 2 +- ...orking.cloud.tencent.com_clbportpools.yaml | 29 +++++++++++++++++-- 3 files changed, 30 insertions(+), 5 deletions(-) diff --git a/incubator/tke-extend-network-controller/Chart.yaml b/incubator/tke-extend-network-controller/Chart.yaml index 6643658..40f577f 100644 --- a/incubator/tke-extend-network-controller/Chart.yaml +++ b/incubator/tke-extend-network-controller/Chart.yaml @@ -23,11 +23,11 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 2.2.3 +version: 2.3.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: 2.2.3 +appVersion: 2.3.0 kubeVersion: '>= 1.26.0-0' diff --git a/incubator/tke-extend-network-controller/README.md b/incubator/tke-extend-network-controller/README.md index 71d7765..6dbca5a 100644 --- a/incubator/tke-extend-network-controller/README.md +++ b/incubator/tke-extend-network-controller/README.md @@ -1,6 +1,6 @@ # tke-extend-network-controller -![Version: 2.2.3](https://img.shields.io/badge/Version-2.2.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.2.3](https://img.shields.io/badge/AppVersion-2.2.3-informational?style=flat-square) +![Version: 2.3.0](https://img.shields.io/badge/Version-2.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.3.0](https://img.shields.io/badge/AppVersion-2.3.0-informational?style=flat-square) 针对 TKE 集群一些特殊场景的的网络控制器。 diff --git a/incubator/tke-extend-network-controller/templates/networking.cloud.tencent.com_clbportpools.yaml b/incubator/tke-extend-network-controller/templates/networking.cloud.tencent.com_clbportpools.yaml index c70ccde..717f1dc 100644 --- a/incubator/tke-extend-network-controller/templates/networking.cloud.tencent.com_clbportpools.yaml +++ b/incubator/tke-extend-network-controller/templates/networking.cloud.tencent.com_clbportpools.yaml @@ -47,7 +47,9 @@ spec: description: CLBPortPoolSpec defines the desired state of CLBPortPool. properties: autoCreate: - description: 自动创建配置 + description: |- + 自动创建的配置,如果启用,则当端口池中负载均衡器可用监听器数量不足时会自动创建新的负载 + 均衡器来补充可分配监听器数量。 properties: enabled: description: 是否启用自动创建 @@ -203,10 +205,33 @@ spec: - message: Value is immutable rule: self == oldSelf exsistedLoadBalancerIDs: - description: 已有负载均衡器ID列表 + description: |- + 已有负载均衡器实例 ID 列表,可动态追加。 + 该列表的负载均衡器将会被端口池用于分配端口映射。 + items: + type: string + type: array + lbBlacklist: + description: |- + CLB 黑名单,负载均衡实例 ID 的数组,用于禁止某些 CLB 实例被分配端口,可动态追加和移除。 + 如果发现某个 CLB 被 DDoS 攻击或其他原因导致不可用,可将该 CLB 的实例 ID 加入到黑名单中, + 避免后续端口分配使用该 CLB。 items: type: string type: array + lbPolicy: + description: |- + CLB 分配策略,单个端口池中有多个可分配 CLB ,分配端口时 CLB 的挑选策略。 + 可选值:Uniform(均匀分配)、InOrder(顺序分配)、Random(随机分配)。默认值为 Random。 + + + 若希望减小 DDoS 攻击的影响,建议使用 Uniform 策略,避免业务使用的 IP 过于集中;若希望提高 + CLB 的利用率,建议使用 InOrder 策略。 + enum: + - Uniform + - InOrder + - Random + type: string listenerQuota: description: |- 监听器数量配额。仅用在单独调整了指定 CLB 实例监听器数量配额的场景(TOTAL_LISTENER_QUOTA),