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: ENV_VARIABLES.md
+5-4
Original file line number
Diff line number
Diff line change
@@ -72,13 +72,13 @@
72
72
| SE_VNC_NO_PASSWORD ||||
73
73
| SE_VNC_VIEW_ONLY ||||
74
74
| SE_VNC_PASSWORD ||||
75
-
| SE_EVENT_BUS_PUBLISH_PORT ||||
76
-
| SE_EVENT_BUS_SUBSCRIBE_PORT ||||
75
+
| SE_EVENT_BUS_PUBLISH_PORT |4442|||
76
+
| SE_EVENT_BUS_SUBSCRIBE_PORT |4443|||
77
77
| SE_NODE_SESSION_TIMEOUT | 300 |||
78
78
| SE_NODE_ENABLE_MANAGED_DOWNLOADS ||||
79
79
| SE_NODE_ENABLE_CDP ||||
80
-
| SE_NODE_REGISTER_PERIOD ||||
81
-
| SE_NODE_REGISTER_CYCLE ||||
80
+
| SE_NODE_REGISTER_PERIOD |120|||
81
+
| SE_NODE_REGISTER_CYCLE |10|||
82
82
| SE_NODE_HEARTBEAT_PERIOD | 30 |||
83
83
| SE_REGISTRATION_SECRET ||||
84
84
| SE_BROWSER_LEFTOVERS_PROCESSES_SECS | 7200 |||
@@ -143,3 +143,4 @@
143
143
| SE_SESSIONS_MAP_EXTERNAL_SCHEME ||||
144
144
| SE_NODE_RELAY_STEREOTYPE || Capabilities in JSON string to overwrite the default Node relay stereotype ||
145
145
| SE_NODE_RELAY_STEREOTYPE_EXTRA || Extra capabilities in JSON string that wants to merge to the default Node relay stereotype ||
146
+
| SE_NODE_REGISTER_SHUTDOWN_ON_FAILURE | true | If this flag is enabled, the Node will shut down after the register period is completed. This is useful for container environments to restart and register again. If restarted multiple times, the Node container status will be CrashLoopBackOff | --register-shutdown-on-failure |
Copy file name to clipboardExpand all lines: charts/selenium-grid/CONFIGURATION.md
+14
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,8 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
49
49
| global.seleniumGrid.affinity | object |`{}`| Specify affinity for all components, can be overridden individually |
50
50
| global.seleniumGrid.topologySpreadConstraints | list |`[]`| Specify topologySpreadConstraints for all components, can be overridden individually |
51
51
| global.seleniumGrid.nodeMaxSessions | int |`1`| Specify number of max sessions per node. Can be overridden by individual component (this is also set to scaler trigger parameter `nodeMaxSessions` if `autoscaling` is enabled) |
52
+
| global.seleniumGrid.nodeRegisterPeriod | int |`120`| How long, in seconds, will the Node try to register to the Distributor for the first time. After this period is completed, the Node will not attempt to register again. |
53
+
| global.seleniumGrid.nodeRegisterCycle | int |`5`| How often, in seconds, the Node will try to register itself for the first time to the Distributor. |
52
54
| tls.create | bool |`true`| Create a Secret resource for TLS certificate and key. If using an external secret set to false and provide its name in `nameOverride` below |
53
55
| tls.nameOverride | string |`nil`| Name of external secret containing the TLS certificate and key |
54
56
| tls.enabled | bool |`false`| Enable or disable TLS for the server components (and ingress proxy) |
@@ -454,13 +456,16 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
454
456
| chromeNode.extraVolumeMounts | list |`[]`| Extra volume mounts for chrome-node container |
455
457
| chromeNode.extraVolumes | list |`[]`| Extra volumes for chrome-node pod |
456
458
| chromeNode.nodeMaxSessions | string |`nil`| Override the number of max sessions per node |
459
+
| chromeNode.nodeRegisterPeriod | string |`nil`| Override the same config at the global level |
460
+
| chromeNode.nodeRegisterCycle | string |`nil`| Override the same config at the global level |
457
461
| chromeNode.scaledOptions | string |`nil`| Override the scaled options for chrome nodes |
458
462
| chromeNode.scaledJobOptions | string |`nil`| Override the scaledJobOptions for chrome nodes |
459
463
| chromeNode.scaledObjectOptions | string |`nil`| Override the scaledObjectOptions for chrome nodes |
460
464
| chromeNode.hpa.browserName | string |`"chrome"`| browserName should match with Node stereotype and request capability is scaled by this scaler |
461
465
| chromeNode.hpa.sessionBrowserName | string |`"chrome"`| sessionBrowserName if the browserName is different from the sessionBrowserName |
462
466
| chromeNode.hpa.browserVersion | string |`""`| browserVersion should match with Node stereotype and request capability is scaled by this scaler |
463
467
| chromeNode.hpa.platformName | string |`""`| platformName should match with Node stereotype and request capability is scaled by this scaler |
468
+
| chromeNode.hpa.capabilities | string |`""`| Setting more custom capabilities for matching specific Nodes |
464
469
| chromeNode.hpa.unsafeSsl | string |`"{{ template \"seleniumGrid.graphqlURL.unsafeSsl\" . }}"`| Skip check SSL when connecting to the Graphql endpoint |
465
470
| chromeNode.initContainers | list |`[]`| It is used to add initContainers in the same pod of the browser node. It should be set using the --set-json option |
466
471
| chromeNode.sidecars | list |`[]`| It is used to add sidecars proxy in the same pod of the browser node. It means it will add a new container to the deployment itself. It should be set using the --set-json option |
@@ -508,13 +513,16 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
508
513
| firefoxNode.extraVolumeMounts | list |`[]`| Extra volume mounts for firefox-node container |
509
514
| firefoxNode.extraVolumes | list |`[]`| Extra volumes for firefox-node pod |
510
515
| firefoxNode.nodeMaxSessions | string |`nil`| Override the number of max sessions per node |
516
+
| firefoxNode.nodeRegisterPeriod | string |`nil`| Override the same config at the global level |
517
+
| firefoxNode.nodeRegisterCycle | string |`nil`| Override the same config at the global level |
511
518
| firefoxNode.scaledOptions | string |`nil`| Override the scaled options for firefox nodes |
512
519
| firefoxNode.scaledJobOptions | string |`nil`| Override the scaledJobOptions for firefox nodes |
513
520
| firefoxNode.scaledObjectOptions | string |`nil`| Override the scaledObjectOptions for firefox nodes |
514
521
| firefoxNode.hpa.browserName | string |`"firefox"`| browserName should match with Node stereotype and request capability is scaled by this scaler |
515
522
| firefoxNode.hpa.sessionBrowserName | string |`"firefox"`| sessionBrowserName if the browserName is different from the sessionBrowserName |
516
523
| firefoxNode.hpa.browserVersion | string |`""`| browserVersion should match with Node stereotype and request capability is scaled by this scaler |
517
524
| firefoxNode.hpa.platformName | string |`""`| platformName should match with Node stereotype and request capability is scaled by this scaler |
525
+
| firefoxNode.hpa.capabilities | string |`""`| Setting more custom capabilities for matching specific Nodes |
518
526
| firefoxNode.hpa.unsafeSsl | string |`"{{ template \"seleniumGrid.graphqlURL.unsafeSsl\" . }}"`| Skip check SSL when connecting to the Graphql endpoint |
519
527
| firefoxNode.initContainers | list |`[]`| It is used to add initContainers in the same pod of the browser node. It should be set using the --set-json option |
520
528
| firefoxNode.sidecars | list |`[]`| It is used to add sidecars proxy in the same pod of the browser node. It means it will add a new container to the deployment itself. It should be set using the --set-json option |
@@ -562,13 +570,16 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
562
570
| edgeNode.extraVolumeMounts | list |`[]`| Extra volume mounts for edge-node container |
563
571
| edgeNode.extraVolumes | list |`[]`| Extra volumes for edge-node pod |
564
572
| edgeNode.nodeMaxSessions | string |`nil`| Override the number of max sessions per node |
573
+
| edgeNode.nodeRegisterPeriod | string |`nil`| Override the same config at the global level |
574
+
| edgeNode.nodeRegisterCycle | string |`nil`| Override the same config at the global level |
565
575
| edgeNode.scaledOptions | string |`nil`| Override the scaled options for edge nodes |
566
576
| edgeNode.scaledJobOptions | string |`nil`| Override the scaledJobOptions for edge nodes |
567
577
| edgeNode.scaledObjectOptions | string |`nil`| Override the scaledObjectOptions for edge nodes |
568
578
| edgeNode.hpa.browserName | string |`"MicrosoftEdge"`| browserName should match with Node stereotype and request capability is scaled by this scaler |
569
579
| edgeNode.hpa.sessionBrowserName | string |`"msedge"`| sessionBrowserName if the browserName is different from the sessionBrowserName |
570
580
| edgeNode.hpa.browserVersion | string |`""`| browserVersion should match with Node stereotype and request capability is scaled by this scaler |
571
581
| edgeNode.hpa.platformName | string |`""`| platformName should match with Node stereotype and request capability is scaled by this scaler |
582
+
| edgeNode.hpa.capabilities | string |`""`| Setting more custom capabilities for matching specific Nodes |
572
583
| edgeNode.hpa.unsafeSsl | string |`"{{ template \"seleniumGrid.graphqlURL.unsafeSsl\" . }}"`| Skip check SSL when connecting to the Graphql endpoint |
573
584
| edgeNode.initContainers | list |`[]`| It is used to add initContainers in the same pod of the browser node. It should be set using the --set-json option |
574
585
| edgeNode.sidecars | list |`[]`| It is used to add sidecars proxy in the same pod of the browser node. It means it will add a new container to the deployment itself. It should be set using the --set-json option |
@@ -616,13 +627,16 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
616
627
| relayNode.extraVolumeMounts | list |`[]`| Extra volume mounts for relay-node container |
617
628
| relayNode.extraVolumes | list |`[]`| Extra volumes for relay-node pod |
618
629
| relayNode.nodeMaxSessions | string |`nil`| Override the number of max sessions per node |
630
+
| relayNode.nodeRegisterPeriod | string |`nil`| Override the same config at the global level |
631
+
| relayNode.nodeRegisterCycle | string |`nil`| Override the same config at the global level |
619
632
| relayNode.scaledOptions | string |`nil`| Override the scaled options for relay nodes |
620
633
| relayNode.scaledJobOptions | string |`nil`| Override the scaledJobOptions for relay nodes |
621
634
| relayNode.scaledObjectOptions | string |`nil`| Override the scaledObjectOptions for relay nodes |
622
635
| relayNode.hpa.browserName | string |`"chrome"`| browserName should match with Node stereotype and request capability is scaled by this scaler |
623
636
| relayNode.hpa.sessionBrowserName | string |`""`| sessionBrowserName if the browserName is different from the sessionBrowserName |
624
637
| relayNode.hpa.browserVersion | string |`""`| browserVersion should match with Node stereotype and request capability is scaled by this scaler |
625
638
| relayNode.hpa.platformName | string |`"Android"`| platformName should match with Node stereotype and request capability is scaled by this scaler |
639
+
| relayNode.hpa.capabilities | string |`""`| Setting more custom capabilities for matching specific Nodes |
626
640
| relayNode.hpa.unsafeSsl | string |`"{{ template \"seleniumGrid.graphqlURL.unsafeSsl\" . }}"`| Skip check SSL when connecting to the Graphql endpoint |
627
641
| relayNode.initContainers | list |`[]`| It is used to add initContainers in the same pod of the browser node. It should be set using the --set-json option |
628
642
| relayNode.sidecars | list |`[]`| It is used to add sidecars proxy in the same pod of the browser node. It means it will add a new container to the deployment itself. It should be set using the --set-json option |
Copy file name to clipboardExpand all lines: charts/selenium-grid/values.yaml
+28
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,10 @@ global:
50
50
# Note: If not define labelSelector, it will be added automatically based on "app" label in each component
51
51
# -- Specify number of max sessions per node. Can be overridden by individual component (this is also set to scaler trigger parameter `nodeMaxSessions` if `autoscaling` is enabled)
52
52
nodeMaxSessions: 1
53
+
# -- How long, in seconds, will the Node try to register to the Distributor for the first time. After this period is completed, the Node will not attempt to register again.
54
+
nodeRegisterPeriod: 120
55
+
# -- How often, in seconds, the Node will try to register itself for the first time to the Distributor.
56
+
nodeRegisterCycle: 5
53
57
54
58
tls:
55
59
# -- Create a Secret resource for TLS certificate and key. If using an external secret set to false and provide its name in `nameOverride` below
@@ -1259,6 +1263,10 @@ chromeNode:
1259
1263
1260
1264
# -- Override the number of max sessions per node
1261
1265
nodeMaxSessions:
1266
+
# -- Override the same config at the global level
1267
+
nodeRegisterPeriod:
1268
+
# -- Override the same config at the global level
1269
+
nodeRegisterCycle:
1262
1270
# -- Override the scaled options for chrome nodes
1263
1271
scaledOptions:
1264
1272
# -- Override the scaledJobOptions for chrome nodes
@@ -1274,6 +1282,8 @@ chromeNode:
1274
1282
browserVersion: ""
1275
1283
# -- platformName should match with Node stereotype and request capability is scaled by this scaler
1276
1284
platformName: ""
1285
+
# -- Setting more custom capabilities for matching specific Nodes
1286
+
capabilities: ""
1277
1287
# browserVersion: '91.0' # Optional. Only required when supporting multiple versions of browser in your Selenium Grid.
1278
1288
# -- Skip check SSL when connecting to the Graphql endpoint
0 commit comments