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
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,7 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
50
50
| global.seleniumGrid.affinity | object |`{}`| Specify affinity for all components, can be overridden individually |
51
51
| global.seleniumGrid.topologySpreadConstraints | list |`[]`| Specify topologySpreadConstraints for all components, can be overridden individually |
52
52
| 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) |
53
+
| global.seleniumGrid.nodeDrainAfterSessionCount | int |`0`| Set number of sessions will be executed in a Node before detaching it from Hub and shutting it down |
53
54
| global.seleniumGrid.nodeEnableManagedDownloads | bool |`true`| This causes the Node to auto manage files downloaded for a given session on the Node (https://www.selenium.dev/documentation/webdriver/drivers/remote_webdriver/#enable-downloads-in-the-grid)|
54
55
| global.seleniumGrid.nodeCustomCapabilities | string |`""`| Setting custom capabilities for matching specific Nodes (https://www.selenium.dev/documentation/grid/configuration/toml_options/#setting-custom-capabilities-for-matching-specific-nodes)|
55
56
| 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. |
@@ -468,6 +469,7 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
468
469
| chromeNode.extraVolumeMounts | list |`[]`| Extra volume mounts for chrome-node container |
469
470
| chromeNode.extraVolumes | list |`[]`| Extra volumes for chrome-node pod |
470
471
| chromeNode.nodeMaxSessions | string |`nil`| Override the number of max sessions per node |
472
+
| chromeNode.nodeDrainAfterSessionCount | string |`nil`| Override the number of sessions to run before draining the node |
471
473
| chromeNode.nodeEnableManagedDownloads | string |`nil`| Override the managed downloads in node |
472
474
| chromeNode.nodeCustomCapabilities | string |`""`| Override the same config at the global level |
473
475
| chromeNode.nodeRegisterPeriod | string |`nil`| Override the same config at the global level |
@@ -526,6 +528,7 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
526
528
| firefoxNode.extraVolumeMounts | list |`[]`| Extra volume mounts for firefox-node container |
527
529
| firefoxNode.extraVolumes | list |`[]`| Extra volumes for firefox-node pod |
528
530
| firefoxNode.nodeMaxSessions | string |`nil`| Override the number of max sessions per node |
531
+
| firefoxNode.nodeDrainAfterSessionCount | string |`nil`| Override the number of sessions to run before draining the node |
529
532
| firefoxNode.nodeEnableManagedDownloads | string |`nil`| Override the managed downloads in node |
530
533
| firefoxNode.nodeCustomCapabilities | string |`""`| Override the same config at the global level |
531
534
| firefoxNode.nodeRegisterPeriod | string |`nil`| Override the same config at the global level |
@@ -584,6 +587,7 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
584
587
| edgeNode.extraVolumeMounts | list |`[]`| Extra volume mounts for edge-node container |
585
588
| edgeNode.extraVolumes | list |`[]`| Extra volumes for edge-node pod |
586
589
| edgeNode.nodeMaxSessions | string |`nil`| Override the number of max sessions per node |
590
+
| edgeNode.nodeDrainAfterSessionCount | string |`nil`| Override the number of sessions to run before draining the node |
587
591
| edgeNode.nodeEnableManagedDownloads | string |`nil`| Override the managed downloads in node |
588
592
| edgeNode.nodeCustomCapabilities | string |`""`| Override the same config at the global level |
589
593
| edgeNode.nodeRegisterPeriod | string |`nil`| Override the same config at the global level |
@@ -643,6 +647,7 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
643
647
| relayNode.extraVolumeMounts | list |`[]`| Extra volume mounts for relay-node container |
644
648
| relayNode.extraVolumes | list |`[]`| Extra volumes for relay-node pod |
645
649
| relayNode.nodeMaxSessions | string |`nil`| Override the number of max sessions per node |
650
+
| relayNode.nodeDrainAfterSessionCount | string |`nil`| Override the number of sessions to run before draining the node |
646
651
| relayNode.nodeEnableManagedDownloads | string |`nil`| Override the managed downloads in node |
647
652
| relayNode.nodeCustomCapabilities | string |`""`| Override the same config at the global level |
648
653
| relayNode.nodeRegisterPeriod | string |`nil`| Override the same config at the global level |
Copy file name to clipboardExpand all lines: charts/selenium-grid/values.yaml
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,10 @@ global:
52
52
# Note: If not define labelSelector, it will be added automatically based on "app" label in each component
53
53
# -- 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)
54
54
nodeMaxSessions: 1
55
+
# Noted:In case of autoscaling enabled, with scaling type `job`, Node will be drained following `nodeMaxSessions` by default
56
+
# If changing `nodeDrainAfterSessionCount` > `nodeMaxSessions` it will take precedence over `nodeMaxSessions` in scaling type `job`
57
+
# -- Set number of sessions will be executed in a Node before detaching it from Hub and shutting it down
58
+
nodeDrainAfterSessionCount: 0
55
59
# -- This causes the Node to auto manage files downloaded for a given session on the Node (https://www.selenium.dev/documentation/webdriver/drivers/remote_webdriver/#enable-downloads-in-the-grid)
56
60
nodeEnableManagedDownloads: true
57
61
# -- Setting custom capabilities for matching specific Nodes (https://www.selenium.dev/documentation/grid/configuration/toml_options/#setting-custom-capabilities-for-matching-specific-nodes)
@@ -1290,6 +1294,8 @@ chromeNode:
1290
1294
1291
1295
# -- Override the number of max sessions per node
1292
1296
nodeMaxSessions:
1297
+
# -- Override the number of sessions to run before draining the node
1298
+
nodeDrainAfterSessionCount:
1293
1299
# -- Override the managed downloads in node
1294
1300
nodeEnableManagedDownloads:
1295
1301
# -- Override the same config at the global level
@@ -1486,6 +1492,8 @@ firefoxNode:
1486
1492
1487
1493
# -- Override the number of max sessions per node
1488
1494
nodeMaxSessions:
1495
+
# -- Override the number of sessions to run before draining the node
1496
+
nodeDrainAfterSessionCount:
1489
1497
# -- Override the managed downloads in node
1490
1498
nodeEnableManagedDownloads:
1491
1499
# -- Override the same config at the global level
@@ -1682,6 +1690,8 @@ edgeNode:
1682
1690
1683
1691
# -- Override the number of max sessions per node
1684
1692
nodeMaxSessions:
1693
+
# -- Override the number of sessions to run before draining the node
1694
+
nodeDrainAfterSessionCount:
1685
1695
# -- Override the managed downloads in node
1686
1696
nodeEnableManagedDownloads:
1687
1697
# -- Override the same config at the global level
@@ -1879,6 +1889,8 @@ relayNode:
1879
1889
1880
1890
# -- Override the number of max sessions per node
1881
1891
nodeMaxSessions:
1892
+
# -- Override the number of sessions to run before draining the node
0 commit comments