Skip to content

Commit ab559e7

Browse files
authored
upgrade tke-extend-network-controller to 2.3.0 (#160)
Signed-off-by: roc <[email protected]>
1 parent 2a7bcd6 commit ab559e7

File tree

3 files changed

+30
-5
lines changed

3 files changed

+30
-5
lines changed

incubator/tke-extend-network-controller/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ type: application
2323
# This is the chart version. This version number should be incremented each time you make changes
2424
# to the chart and its templates, including the app version.
2525
# Versions are expected to follow Semantic Versioning (https://semver.org/)
26-
version: 2.2.3
26+
version: 2.3.0
2727

2828
# This is the version number of the application being deployed. This version number should be
2929
# incremented each time you make changes to the application. Versions are not expected to
3030
# follow Semantic Versioning. They should reflect the version the application is using.
3131
# It is recommended to use it with quotes.
32-
appVersion: 2.2.3
32+
appVersion: 2.3.0
3333
kubeVersion: '>= 1.26.0-0'

incubator/tke-extend-network-controller/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# tke-extend-network-controller
22

3-
![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)
3+
![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)
44

55
针对 TKE 集群一些特殊场景的的网络控制器。
66

incubator/tke-extend-network-controller/templates/networking.cloud.tencent.com_clbportpools.yaml

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ spec:
4747
description: CLBPortPoolSpec defines the desired state of CLBPortPool.
4848
properties:
4949
autoCreate:
50-
description: 自动创建配置
50+
description: |-
51+
自动创建的配置,如果启用,则当端口池中负载均衡器可用监听器数量不足时会自动创建新的负载
52+
均衡器来补充可分配监听器数量。
5153
properties:
5254
enabled:
5355
description: 是否启用自动创建
@@ -203,10 +205,33 @@ spec:
203205
- message: Value is immutable
204206
rule: self == oldSelf
205207
exsistedLoadBalancerIDs:
206-
description: 已有负载均衡器ID列表
208+
description: |-
209+
已有负载均衡器实例 ID 列表,可动态追加。
210+
该列表的负载均衡器将会被端口池用于分配端口映射。
211+
items:
212+
type: string
213+
type: array
214+
lbBlacklist:
215+
description: |-
216+
CLB 黑名单,负载均衡实例 ID 的数组,用于禁止某些 CLB 实例被分配端口,可动态追加和移除。
217+
如果发现某个 CLB 被 DDoS 攻击或其他原因导致不可用,可将该 CLB 的实例 ID 加入到黑名单中,
218+
避免后续端口分配使用该 CLB。
207219
items:
208220
type: string
209221
type: array
222+
lbPolicy:
223+
description: |-
224+
CLB 分配策略,单个端口池中有多个可分配 CLB ,分配端口时 CLB 的挑选策略。
225+
可选值:Uniform(均匀分配)、InOrder(顺序分配)、Random(随机分配)。默认值为 Random。
226+
227+
228+
若希望减小 DDoS 攻击的影响,建议使用 Uniform 策略,避免业务使用的 IP 过于集中;若希望提高
229+
CLB 的利用率,建议使用 InOrder 策略。
230+
enum:
231+
- Uniform
232+
- InOrder
233+
- Random
234+
type: string
210235
listenerQuota:
211236
description: |-
212237
监听器数量配额。仅用在单独调整了指定 CLB 实例监听器数量配额的场景(TOTAL_LISTENER_QUOTA),

0 commit comments

Comments
 (0)