File tree 11 files changed +128
-99
lines changed
tests/charts/templates/render
11 files changed +128
-99
lines changed Original file line number Diff line number Diff line change @@ -40,12 +40,12 @@ jobs:
40
40
test-existing-keda : true
41
41
- k8s-version : ' v1.26.15'
42
42
test-strategy : deployment
43
- cluster : ' kind '
43
+ cluster : ' minikube '
44
44
helm-version : ' v3.11.3'
45
45
test-existing-keda : true
46
46
- k8s-version : ' v1.27.12'
47
47
test-strategy : job_https
48
- cluster : ' kind '
48
+ cluster : ' minikube '
49
49
helm-version : ' v3.12.3'
50
50
test-existing-keda : true
51
51
- k8s-version : ' v1.28.8'
Original file line number Diff line number Diff line change @@ -93,6 +93,11 @@ if [ ! -z "$SE_REJECT_UNSUPPORTED_CAPS" ]; then
93
93
SE_OPTS=" $SE_OPTS --reject-unsupported-caps ${SE_REJECT_UNSUPPORTED_CAPS} "
94
94
fi
95
95
96
+ if [ ! -z " $SE_NEW_SESSION_THREAD_POOL_SIZE " ]; then
97
+ echo " Appending Selenium options: --newsession-threadpool-size ${SE_NEW_SESSION_THREAD_POOL_SIZE} "
98
+ SE_OPTS=" $SE_OPTS --newsession-threadpool-size ${SE_NEW_SESSION_THREAD_POOL_SIZE} "
99
+ fi
100
+
96
101
EXTRA_LIBS=" "
97
102
98
103
if [ " $SE_ENABLE_TRACING " = " true" ]; then
Original file line number Diff line number Diff line change @@ -66,6 +66,11 @@ if [ ! -z "$SE_REJECT_UNSUPPORTED_CAPS" ]; then
66
66
SE_OPTS=" $SE_OPTS --reject-unsupported-caps ${SE_REJECT_UNSUPPORTED_CAPS} "
67
67
fi
68
68
69
+ if [ ! -z " $SE_NEW_SESSION_THREAD_POOL_SIZE " ]; then
70
+ echo " Appending Selenium options: --newsession-threadpool-size ${SE_NEW_SESSION_THREAD_POOL_SIZE} "
71
+ SE_OPTS=" $SE_OPTS --newsession-threadpool-size ${SE_NEW_SESSION_THREAD_POOL_SIZE} "
72
+ fi
73
+
69
74
EXTRA_LIBS=" "
70
75
71
76
if [ " $SE_ENABLE_TRACING " = " true" ]; then
Original file line number Diff line number Diff line change @@ -70,6 +70,11 @@ if [ ! -z "$SE_REJECT_UNSUPPORTED_CAPS" ]; then
70
70
SE_OPTS=" $SE_OPTS --reject-unsupported-caps ${SE_REJECT_UNSUPPORTED_CAPS} "
71
71
fi
72
72
73
+ if [ ! -z " $SE_NEW_SESSION_THREAD_POOL_SIZE " ]; then
74
+ echo " Appending Selenium options: --newsession-threadpool-size ${SE_NEW_SESSION_THREAD_POOL_SIZE} "
75
+ SE_OPTS=" $SE_OPTS --newsession-threadpool-size ${SE_NEW_SESSION_THREAD_POOL_SIZE} "
76
+ fi
77
+
73
78
/opt/bin/generate_config
74
79
75
80
echo " Selenium Grid Standalone configuration: "
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 52
52
value : ' {{ template "seleniumGrid.sessionQueue.fullname" . }}.{{ .Release.Namespace }}'
53
53
- name : SE_SESSION_QUEUE_PORT
54
54
value : {{ .Values.components.sessionQueue.port | quote }}
55
+ {{- with .Values.components.distributor.newSessionThreadPoolSize }}
56
+ - name : SE_NEW_SESSION_THREAD_POOL_SIZE
57
+ value : {{ . | quote }}
58
+ {{- end }}
55
59
{{- with .Values.components.extraEnvironmentVariables }}
56
60
{{- tpl (toYaml .) $ | nindent 12 }}
57
61
{{- end }}
Original file line number Diff line number Diff line change @@ -109,6 +109,10 @@ spec:
109
109
- name : SE_DISABLE_UI
110
110
value : {{ .Values.hub.disableUI | quote }}
111
111
{{- end }}
112
+ {{- with .Values.hub.newSessionThreadPoolSize }}
113
+ - name : SE_NEW_SESSION_THREAD_POOL_SIZE
114
+ value : {{ . | quote }}
115
+ {{- end }}
112
116
{{- with .Values.hub.extraEnvironmentVariables }}
113
117
{{- tpl (toYaml .) $ | nindent 12 }}
114
118
{{- end }}
Original file line number Diff line number Diff line change 59
59
- name : SE_SUB_PATH
60
60
value : {{ . | quote }}
61
61
{{- end }}
62
- {{- if .Values.components.disableUI }}
62
+ {{- if .Values.components.router. disableUI }}
63
63
- name : SE_DISABLE_UI
64
- value : {{ .Values.components.disableUI | quote }}
64
+ value : {{ .Values.components.router. disableUI | quote }}
65
65
{{- end }}
66
66
{{- with .Values.components.extraEnvironmentVariables }}
67
67
{{- tpl (toYaml .) $ | nindent 12 }}
Original file line number Diff line number Diff line change @@ -201,6 +201,8 @@ components:
201
201
# Image pull secret (see https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/)
202
202
imagePullSecret : " "
203
203
204
+ # Disable the Grid UI
205
+ disableUI : false
204
206
# Custom annotations for router pods
205
207
annotations : {}
206
208
# Router port
@@ -263,6 +265,8 @@ components:
263
265
# Image pull secret (see https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/)
264
266
imagePullSecret : " "
265
267
268
+ # Configure fixed-sized thread pool for the Distributor to create new sessions as it consumes new session requests from the queue
269
+ newSessionThreadPoolSize :
266
270
# Custom annotations for Distributor pods
267
271
annotations : {}
268
272
# Distributor port
@@ -387,8 +391,6 @@ components:
387
391
388
392
# Custom sub path for all components
389
393
subPath : " "
390
- # Disable the Grid UI
391
- disableUI : false
392
394
393
395
# Custom environment variables for all components
394
396
extraEnvironmentVariables :
425
427
labels : {}
426
428
# Disable the Grid UI
427
429
disableUI : false
430
+ # Configure fixed-sized thread pool for the Distributor to create new sessions as it consumes new session requests from the queue
431
+ newSessionThreadPoolSize :
428
432
# Port where events are published
429
433
publishPort : 4442
430
434
publishNodePort : 31442
Original file line number Diff line number Diff line change @@ -62,8 +62,8 @@ isolateComponents: true
62
62
63
63
components :
64
64
subPath : *gridAppRoot
65
- disableUI : true
66
65
router :
66
+ disableUI : true
67
67
annotations :
68
68
" restartOnUpdate " : " true"
69
69
serviceType : NodePort
Original file line number Diff line number Diff line change @@ -63,8 +63,8 @@ selenium-grid:
63
63
64
64
components :
65
65
subPath : *gridAppRoot
66
- disableUI : true
67
66
router :
67
+ disableUI : true
68
68
serviceType : NodePort
69
69
distributor :
70
70
serviceType : NodePort
You can’t perform that action at this time.
0 commit comments