Skip to content

Commit 8885276

Browse files
authored
upgrade tke-extend-network-controller to 2.2.0 (#152)
Signed-off-by: roc <[email protected]>
1 parent caf39ee commit 8885276

File tree

7 files changed

+7
-138
lines changed

7 files changed

+7
-138
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.1.1
26+
version: 2.2.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.1.1
32+
appVersion: 2.2.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.1.1](https://img.shields.io/badge/Version-2.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.1.1](https://img.shields.io/badge/AppVersion-2.1.1-informational?style=flat-square)
3+
![Version: 2.2.0](https://img.shields.io/badge/Version-2.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.2.0](https://img.shields.io/badge/AppVersion-2.2.0-informational?style=flat-square)
44

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

incubator/tke-extend-network-controller/templates/_helpers.tpl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,7 @@ If release name contains chart name it will be used as a full name.
1515
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
1616
{{- else }}
1717
{{- $name := default .Chart.Name .Values.nameOverride }}
18-
{{- if contains $name .Release.Name }}
1918
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
20-
{{- else }}
21-
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
22-
{{- end }}
2319
{{- end }}
2420
{{- end }}
2521

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,6 @@ spec:
5252
value: "{{ .Values.concurrency.clbPodBindingController }}"
5353
- name: WORKER_CLB_NODE_BINDING_CONTROLLER
5454
value: "{{ .Values.concurrency.clbNodeBindingController }}"
55-
- name: WORKER_DEDICATED_CLB_SERVICE_CONTROLLER
56-
value: "{{ .Values.concurrency.dedicatedClbServiceController }}"
57-
- name: WORKER_DEDICATED_CLB_LISTENER_CONTROLLER
58-
value: "{{ .Values.concurrency.dedicatedClbListenerController }}"
5955
- name: WORKER_CLB_PORT_POOL_CONTROLLER
6056
value: "{{ .Values.concurrency.clbPortPoolController }}"
6157
- name: WORKER_POD_CONTROLLER

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

Lines changed: 3 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -76,20 +76,15 @@ metadata:
7676
{{- include "tke-extend-network-controller.labels" . | nindent 4 }}
7777
rules:
7878
- apiGroups:
79-
- ""
79+
- agones.dev
8080
resources:
81-
- pods
81+
- gameservers
8282
verbs:
8383
- get
8484
- list
85+
- patch
8586
- update
8687
- watch
87-
- apiGroups:
88-
- ""
89-
resources:
90-
- pods/status
91-
verbs:
92-
- get
9388
- apiGroups:
9489
- ""
9590
resources:
@@ -251,55 +246,3 @@ rules:
251246
- get
252247
- patch
253248
- update
254-
- apiGroups:
255-
- networking.cloud.tencent.com
256-
resources:
257-
- dedicatedclblisteners
258-
verbs:
259-
- create
260-
- delete
261-
- get
262-
- list
263-
- patch
264-
- update
265-
- watch
266-
- apiGroups:
267-
- networking.cloud.tencent.com
268-
resources:
269-
- dedicatedclblisteners/finalizers
270-
verbs:
271-
- update
272-
- apiGroups:
273-
- networking.cloud.tencent.com
274-
resources:
275-
- dedicatedclblisteners/status
276-
verbs:
277-
- get
278-
- patch
279-
- update
280-
- apiGroups:
281-
- networking.cloud.tencent.com
282-
resources:
283-
- dedicatedclbservices
284-
verbs:
285-
- create
286-
- delete
287-
- get
288-
- list
289-
- patch
290-
- update
291-
- watch
292-
- apiGroups:
293-
- networking.cloud.tencent.com
294-
resources:
295-
- dedicatedclbservices/finalizers
296-
verbs:
297-
- update
298-
- apiGroups:
299-
- networking.cloud.tencent.com
300-
resources:
301-
- dedicatedclbservices/status
302-
verbs:
303-
- get
304-
- patch
305-
- update

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

Lines changed: 0 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,6 @@ metadata:
88
{{- include "tke-extend-network-controller.labels" . | nindent 4 }}
99
name: {{ include "tke-extend-network-controller.fullname" . }}-mutating-webhook-configuration
1010
webhooks:
11-
- admissionReviewVersions:
12-
- v1
13-
clientConfig:
14-
service:
15-
name: {{ include "tke-extend-network-controller.fullname" . }}-webhook-service
16-
namespace: {{ .Release.Namespace | quote }}
17-
path: /mutate-networking-cloud-tencent-com-v1alpha1-dedicatedclblistener
18-
failurePolicy: Fail
19-
name: mdedicatedclblistener.kb.io
20-
rules:
21-
- apiGroups:
22-
- networking.cloud.tencent.com
23-
apiVersions:
24-
- v1alpha1
25-
operations:
26-
- CREATE
27-
- UPDATE
28-
resources:
29-
- dedicatedclblisteners
30-
sideEffects: None
3111
- admissionReviewVersions:
3212
- v1
3313
clientConfig:
@@ -59,50 +39,6 @@ metadata:
5939
{{- include "tke-extend-network-controller.labels" . | nindent 4 }}
6040
name: {{ include "tke-extend-network-controller.fullname" . }}-validating-webhook-configuration
6141
webhooks:
62-
- admissionReviewVersions:
63-
- v1
64-
clientConfig:
65-
service:
66-
name: {{ include "tke-extend-network-controller.fullname" . }}-webhook-service
67-
namespace: {{ .Release.Namespace | quote }}
68-
path: /validate-networking-cloud-tencent-com-v1alpha1-dedicatedclblistener
69-
failurePolicy: Fail
70-
name: vdedicatedclblistener.kb.io
71-
rules:
72-
- apiGroups:
73-
- networking.cloud.tencent.com
74-
apiVersions:
75-
- v1alpha1
76-
operations:
77-
- CREATE
78-
- UPDATE
79-
resources:
80-
- dedicatedclblisteners
81-
sideEffects: None
82-
- admissionReviewVersions:
83-
- v1
84-
clientConfig:
85-
service:
86-
name: {{ include "tke-extend-network-controller.fullname" . }}-webhook-service
87-
namespace: {{ .Release.Namespace | quote }}
88-
path: /validate--v1-pod
89-
failurePolicy: Fail
90-
name: vpod-v1.kb.io
91-
matchConditions:
92-
- expression: |
93-
'annotations' in object.metadata && 'networking.cloud.tencent.com/enable-clb-port-mapping' in object.metadata.annotations
94-
name: check-annotation
95-
rules:
96-
- apiGroups:
97-
- ""
98-
apiVersions:
99-
- v1
100-
operations:
101-
- CREATE
102-
- UPDATE
103-
resources:
104-
- pods
105-
sideEffects: None
10642
- admissionReviewVersions:
10743
- v1
10844
clientConfig:

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,11 @@ clusterID: ""
2222
concurrency:
2323
clbPodBindingController: 20
2424
clbNodeBindingController: 20
25-
dedicatedClbListenerController: 20
2625
podController: 20
2726
nodeController: 20
2827
clbPortPoolController: 10
29-
dedicatedClbServiceController: 1
3028

31-
# -- Precisely control the frequency limit of cloud API calls to avoid frequent over-limits
29+
# -- Precisely control the QPS of cloud API calls to avoid frequent over-limits
3230
# in large-scale scenarios, resulting in excessive retries and reduced scaling speed.
3331
apiRateLimit:
3432
DescribeLoadBalancers: 20

0 commit comments

Comments
 (0)