Skip to content

Commit a89b653

Browse files
authored
upgrade tke-extend-network-controller to 2.0.9 (#149)
* upgrade tke-extend-network-controller to 2.0.9 Signed-off-by: roc <[email protected]> * add details to Chart.yaml Signed-off-by: roc <[email protected]> * add default apiRateLimit Signed-off-by: roc <[email protected]> --------- Signed-off-by: roc <[email protected]>
1 parent 393ba62 commit a89b653

File tree

7 files changed

+69
-3
lines changed

7 files changed

+69
-3
lines changed

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ description: A Network Controller for TKE
44

55
home: https://github.com/imroc/tke-extend-network-controller
66
icon: https://cloudcache.tencent-cloud.com/qcloud/ui/static/Industry_tke/b76ab4be-8275-4f41-8438-764267b3af73.png
7+
sources:
8+
- https://github.com/imroc/tke-extend-network-controller
9+
maintainers:
10+
- name: rockerchen
11+
712

813
# A chart can be either an 'application' or a 'library' chart.
914
#
@@ -18,11 +23,11 @@ type: application
1823
# This is the chart version. This version number should be incremented each time you make changes
1924
# to the chart and its templates, including the app version.
2025
# Versions are expected to follow Semantic Versioning (https://semver.org/)
21-
version: 2.0.6
26+
version: 2.0.9
2227

2328
# This is the version number of the application being deployed. This version number should be
2429
# incremented each time you make changes to the application. Versions are not expected to
2530
# follow Semantic Versioning. They should reflect the version the application is using.
2631
# It is recommended to use it with quotes.
27-
appVersion: 2.0.6
32+
appVersion: 2.0.9
2833
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.0.6](https://img.shields.io/badge/Version-2.0.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.0.6](https://img.shields.io/badge/AppVersion-2.0.6-informational?style=flat-square)
3+
![Version: 2.0.9](https://img.shields.io/badge/Version-2.0.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.0.9](https://img.shields.io/badge/AppVersion-2.0.9-informational?style=flat-square)
44

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

incubator/tke-extend-network-controller/templates/deployment.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,38 @@ spec:
6262
value: "{{ .Values.concurrency.podController }}"
6363
- name: WORKER_NODE_CONTROLLER
6464
value: "{{ .Values.concurrency.nodeController }}"
65+
{{- with .Values.apiRateLimit.DescribeLoadBalancers }}
66+
- name: API_RATELIMIT_DESCRIBE_LOAD_BALANCERS
67+
value: "{{ . }}"
68+
{{- end }}
69+
{{- with .Values.apiRateLimit.CreateListener }}
70+
- name: API_RATELIMIT_CREATE_LISTENER
71+
value: "{{ . }}"
72+
{{- end }}
73+
{{- with .Values.apiRateLimit.DescribeListeners }}
74+
- name: API_RATELIMIT_DESCRIBE_LISTENERS
75+
value: "{{ . }}"
76+
{{- end }}
77+
{{- with .Values.apiRateLimit.DeleteLoadBalancerListeners }}
78+
- name: API_RATELIMIT_DELETE_LOAD_BALANCER_LISTENERS
79+
value: "{{ . }}"
80+
{{- end }}
81+
{{- with .Values.apiRateLimit.BatchRegisterTargets }}
82+
- name: API_RATELIMIT_BATCH_REGISTER_TARGETS
83+
value: "{{ . }}"
84+
{{- end }}
85+
{{- with .Values.apiRateLimit.DescribeTargets }}
86+
- name: API_RATELIMIT_DESCRIBE_TARGETS
87+
value: "{{ . }}"
88+
{{- end }}
89+
{{- with .Values.apiRateLimit.BatchDeregisterTargets }}
90+
- name: API_RATELIMIT_BATCH_DEREGISTER_TARGETS
91+
value: "{{ . }}"
92+
{{- end }}
93+
{{- with .Values.apiRateLimit.DescribeTaskStatus }}
94+
- name: API_RATELIMIT_DESCRIBE_TASK_STATUS
95+
value: "{{ . }}"
96+
{{- end }}
6597
envFrom:
6698
- secretRef:
6799
name: {{ include "tke-extend-network-controller.fullname" . }}-env

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ spec:
135135
type: object
136136
type: array
137137
state:
138+
default: Pending
138139
description: 绑定状态
139140
type: string
140141
required:

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ spec:
135135
type: object
136136
type: array
137137
state:
138+
default: Pending
138139
description: 绑定状态
139140
type: string
140141
required:

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,21 +249,31 @@ spec:
249249
items:
250250
description: LoadBalancerStatus 定义负载均衡器状态
251251
properties:
252+
allocated:
253+
description: 已分配的监听器数量
254+
type: integer
252255
autoCreated:
256+
description: 是否自动创建
253257
type: boolean
254258
hostname:
259+
description: CLB 实例的域名 (域名化 CLB)
255260
type: string
256261
ips:
262+
description: CLB 实例的 IP 地址
257263
items:
258264
type: string
259265
type: array
260266
loadbalancerID:
267+
description: CLB 实例 ID
261268
type: string
262269
loadbalancerName:
270+
description: CLB 实例名称
263271
type: string
264272
state:
273+
description: CLB 状态(Running/NotFound)
265274
type: string
266275
required:
276+
- allocated
267277
- loadbalancerID
268278
- loadbalancerName
269279
- state
@@ -272,10 +282,15 @@ spec:
272282
message:
273283
description: 状态信息
274284
type: string
285+
quota:
286+
description: 监听器数量的 Quota
287+
type: integer
275288
state:
289+
default: Pending
276290
description: '状态: Pending/Active/Scaling'
277291
type: string
278292
required:
293+
- quota
279294
- state
280295
type: object
281296
type: object

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,18 @@ concurrency:
2828
clbPortPoolController: 10
2929
dedicatedClbServiceController: 1
3030

31+
# -- Precisely control the frequency limit of cloud API calls to avoid frequent over-limits
32+
# in large-scale scenarios, resulting in excessive retries and reduced scaling speed.
33+
apiRateLimit:
34+
DescribeLoadBalancers: 20
35+
CreateListener: 20
36+
DescribeListeners: 20
37+
DeleteLoadBalancerListeners: 20
38+
BatchRegisterTargets: 20
39+
DescribeTargets: 20
40+
BatchDeregisterTargets: 20
41+
DescribeTaskStatus: 20
42+
3143
# -- Logging otpions of the controller
3244
log:
3345
# -- Log level of the controller, be one of 'debug', 'info', 'error', or any integer value > 0 which corresponds to custom debug levels of increasing verbosity

0 commit comments

Comments
 (0)