You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: charts/selenium-grid/CONFIGURATION.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,9 +66,12 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
66
66
| tls.disableHostnameVerification | bool |`true`| Disable verification the hostname included in the server's TLS/SSL certificates matches the hostnames provided |
67
67
| registrationSecret.enabled | bool |`false`| Enable feature node registration secret to make sure that the node is one you control and not a rouge node |
68
68
| registrationSecret.value | string |`"HappyTesting"`| The secret value to be used for node registration |
69
+
| basicAuth.nameOverride | string |`""`| External secret containing the basic auth username and password for reference |
69
70
| basicAuth.enabled | bool |`false`| Enable or disable basic auth for the Hub/Router |
70
71
| basicAuth.username | string |`"admin"`| Username for basic auth |
71
72
| basicAuth.password | string |`"admin"`| Password for basic auth |
73
+
| basicAuth.embeddedUrl | bool |`false`| Embed the basic auth "username:password@" in few URLs e.g. SE_NODE_GRID_URL |
| autoscaling.enableWithExistingKEDA | bool |`false`| Enable autoscaling without automatically installing KEDA |
302
305
| autoscaling.scalingType | string |`"job"`| Which type of KEDA scaling to use: job or deployment |
306
+
| autoscaling.authenticationRef | object |`{"name":""}`| Specify an external KEDA TriggerAuthentication resource is used for scaler triggers config. Apply for all browser nodes |
303
307
| autoscaling.annotations | object |`{"helm.sh/hook":"post-install,post-upgrade,post-rollback","helm.sh/hook-weight":"1"}`| Annotations for KEDA resources: ScaledObject and ScaledJob |
304
308
| autoscaling.patchObjectFinalizers.nameOverride | string |`nil`| Override the name of the patch job |
305
309
| autoscaling.patchObjectFinalizers.enabled | bool |`true`| Enable patching finalizers for KEDA scaled resources. Workaround for Hook post-upgrade selenium-grid/templates/x-node-hpa.yaml failed: object is being deleted: scaledobjects.keda.sh "x" already exists |
@@ -361,7 +365,6 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
361
365
| chromeNode.scaledOptions | string |`nil`| Override the scaled options for chrome nodes |
362
366
| chromeNode.scaledJobOptions | string |`nil`| Override the scaledJobOptions for chrome nodes |
363
367
| chromeNode.scaledObjectOptions | string |`nil`| Override the scaledObjectOptions for chrome nodes |
364
-
| chromeNode.hpa.url | string |`"{{ template \"seleniumGrid.graphqlURL\" . }}"`| Graphql endpoint for the HPA to fetch metrics |
365
368
| chromeNode.hpa.browserName | string |`"chrome"`| browserName from the capability |
366
369
| chromeNode.hpa.sessionBrowserName | string |`"chrome"`| sessionBrowserName if the browserName is different from the sessionBrowserName |
367
370
| chromeNode.hpa.platformName | string |`"linux"`| platformName from the capability |
@@ -411,7 +414,6 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
411
414
| firefoxNode.scaledOptions | string |`nil`| Override the scaled options for firefox nodes |
412
415
| firefoxNode.scaledJobOptions | string |`nil`| Override the scaledJobOptions for firefox nodes |
413
416
| firefoxNode.scaledObjectOptions | string |`nil`| Override the scaledObjectOptions for firefox nodes |
414
-
| firefoxNode.hpa.url | string |`"{{ template \"seleniumGrid.graphqlURL\" . }}"`| Graphql endpoint for the HPA to fetch metrics |
415
417
| firefoxNode.hpa.browserName | string |`"firefox"`| browserName from the capability |
416
418
| firefoxNode.hpa.sessionBrowserName | string |`"firefox"`| sessionBrowserName if the browserName is different from the sessionBrowserName |
417
419
| firefoxNode.hpa.platformName | string |`"linux"`| platformName from the capability |
@@ -461,7 +463,6 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
461
463
| edgeNode.scaledOptions | string |`nil`| Override the scaled options for edge nodes |
462
464
| edgeNode.scaledJobOptions | string |`nil`| Override the scaledJobOptions for edge nodes |
463
465
| edgeNode.scaledObjectOptions | string |`nil`| Override the scaledObjectOptions for edge nodes |
464
-
| edgeNode.hpa.url | string |`"{{ template \"seleniumGrid.graphqlURL\" . }}"`| Graphql endpoint for the HPA to fetch metrics |
465
466
| edgeNode.hpa.browserName | string |`"MicrosoftEdge"`| browserName from the capability |
466
467
| edgeNode.hpa.sessionBrowserName | string |`"msedge"`| sessionBrowserName if the browserName is different from the sessionBrowserName |
467
468
| edgeNode.hpa.platformName | string |`"linux"`| platformName from the capability |
For security reasons, it is not recommend to put the credentials in the URL in env variable `SE_NODE_GRID_URL`. For any utilities that need to access the Grid, basic auth should get from env variables `SE_ROUTER_USERNAME` and `SE_ROUTER_PASSWORD`.
348
+
349
+
If you want to keep basic auth credential is embedded in few URLs (in case Websocket URLs construct in session capabilities), you can set `basicAuth.embeddedUrl` to `true`. By default, it is `false`.
350
+
343
351
Besides that, from the outside of the cluster, you can access via NodePort `http://10.10.10.10:30444/selenium`
echo"$(date ${ts_format}) DEBUG [${probe_name}] - Could not construct GraphQL endpoint, please provide SE_HUB_HOST (or SE_ROUTER_HOST) and SE_HUB_PORT (or SE_ROUTER_PORT). Bypass the probe checks for now."
echo"$(date +%FT%T%Z) [${probe_name}] - There is no configured HUB/ROUTER host or SE_NODE_GRID_URL isn't set. preStop ignores to send drain request to upstream."
46
+
echo"$(date +%FT%T%Z) [${probe_name}] - There is no configured HUB/ROUTER host or SE_NODE_GRID_URL isn't set. ${probe_name} ignores to send drain request to upstream."
echo"$(date +%FT%T%Z) [${probe_name}] - Node preStop is waiting for current session on slot ${SLOT_HAS_SESSION} to be finished. Node details: message: $(jq -r '.value.message'${tmp_node_file}||"unknown"), availability: $(jq -r '.value.node.availability'${tmp_node_file}||"unknown")"
77
+
echo"$(date +%FT%T%Z) [${probe_name}] - Node ${probe_name} is waiting for current session on slot ${SLOT_HAS_SESSION} to be finished. Node details: message: $(jq -r '.value.message'${tmp_node_file}||"unknown"), availability: $(jq -r '.value.node.availability'${tmp_node_file}||"unknown")"
0 commit comments