Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions charts/selenium-grid/CONFIGURATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
| global.seleniumGrid.updateStrategy.type | string | `"Recreate"` | Specify update strategy for all components, can be overridden individually |
| global.seleniumGrid.updateStrategy.rollingUpdate | object | `{"maxSurge":1,"maxUnavailable":0}` | Specify for strategy RollingUpdate |
| global.seleniumGrid.affinity | object | `{}` | Specify affinity for all components, can be overridden individually |
| global.seleniumGrid.dnsPolicy | string | `""` | Specify dnsPolicy for all components, can be overridden individually |
| global.seleniumGrid.dnsConfig | object | `{}` | Specify dnsConfig for all components, can be overridden individually |
| global.seleniumGrid.topologySpreadConstraints | list | `[]` | Specify topologySpreadConstraints for all components, can be overridden individually |
| global.seleniumGrid.sessionRequestTimeout | int | `300` | Timeout in seconds. A new incoming session request is added to the queue. Requests sitting in the queue for longer than the configured time will timeout. |
| 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) |
Expand Down Expand Up @@ -202,6 +204,8 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
| components.router.extraEnvFrom | list | `[]` | Specify extra environment variables from ConfigMap and Secret for Router |
| components.router.affinity | object | `{}` | Specify affinity for router pods, this overwrites global.seleniumGrid.affinity parameter |
| components.router.topologySpreadConstraints | list | `[]` | Specify topologySpreadConstraints for router pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter |
| components.router.dnsPolicy | string | `""` | Specify dnsPolicy for router pods, this overwrites global.seleniumGrid.dnsPolicy parameter |
| components.router.dnsConfig | object | `{}` | Specify dnsConfig for router pods, this overwrites global.seleniumGrid.dnsConfig parameter |
| components.router.annotations | object | `{}` | Custom annotations for router pods |
| components.router.port | int | `4444` | Router container port |
| components.router.nodePort | int | `30444` | Router expose NodePort |
Expand Down Expand Up @@ -232,6 +236,8 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
| components.distributor.extraEnvFrom | list | `[]` | Specify extra environment variables from ConfigMap and Secret for Distributor |
| components.distributor.affinity | object | `{}` | Specify affinity for distributor pods, this overwrites global.seleniumGrid.affinity parameter |
| components.distributor.topologySpreadConstraints | list | `[]` | Specify topologySpreadConstraints for Distributor pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter |
| components.distributor.dnsPolicy | string | `""` | Specify dnsPolicy for Distributor pods, this overwrites global.seleniumGrid.dnsPolicy parameter |
| components.distributor.dnsConfig | object | `{}` | Specify dnsConfig for Distributor pods, this overwrites global.seleniumGrid.dnsConfig parameter |
| components.distributor.annotations | object | `{}` | Custom annotations for Distributor pods |
| components.distributor.port | int | `5553` | Distributor container port |
| components.distributor.nodePort | int | `30553` | Distributor expose NodePort |
Expand All @@ -257,6 +263,8 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
| components.eventBus.extraEnvFrom | list | `[]` | Specify extra environment variables from ConfigMap and Secret for Event Bus |
| components.eventBus.affinity | object | `{}` | Specify affinity for Event Bus pods, this overwrites global.seleniumGrid.affinity parameter |
| components.eventBus.topologySpreadConstraints | list | `[]` | Specify topologySpreadConstraints for Event Bus pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter |
| components.eventBus.dnsPolicy | string | `""` | Specify dnsPolicy for Event Bus pods, this overwrites global.seleniumGrid.dnsPolicy parameter |
| components.eventBus.dnsConfig | object | `{}` | Specify dnsConfig for Event Bus pods, this overwrites global.seleniumGrid.dnsConfig parameter |
| components.eventBus.annotations | object | `{}` | Custom annotations for Event Bus pods |
| components.eventBus.port | int | `5557` | Event Bus container port |
| components.eventBus.nodePort | int | `30557` | Event Bus expose NodePort |
Expand Down Expand Up @@ -286,6 +294,8 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
| components.sessionMap.extraEnvFrom | list | `[]` | Specify extra environment variables from ConfigMap and Secret for Session Map |
| components.sessionMap.affinity | object | `{}` | Specify affinity for Session Map pods, this overwrites global.seleniumGrid.affinity parameter |
| components.sessionMap.topologySpreadConstraints | list | `[]` | Specify topologySpreadConstraints for Session Map pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter |
| components.sessionMap.dnsPolicy | string | `""` | Specify dnsPolicy for Session Map pods, this overwrites global.seleniumGrid.dnsPolicy parameter |
| components.sessionMap.dnsConfig | object | `{}` | Specify dnsConfig for Session Map pods, this overwrites global.seleniumGrid.dnsConfig parameter |
| components.sessionMap.annotations | object | `{}` | Custom annotations for Session Map pods |
| components.sessionMap.port | int | `5556` | Session Map container port |
| components.sessionMap.resources | object | `{"limits":{"cpu":"1","memory":"1Gi"},"requests":{"cpu":"0.5","memory":"512Mi"}}` | Resources for Session Map container |
Expand All @@ -312,6 +322,8 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
| components.sessionQueue.extraEnvFrom | list | `[]` | Specify extra environment variables from ConfigMap and Secret for Session Queue |
| components.sessionQueue.affinity | object | `{}` | Specify affinity for Session Queue pods, this overwrites global.seleniumGrid.affinity parameter |
| components.sessionQueue.topologySpreadConstraints | list | `[]` | Specify topologySpreadConstraints for Session Queue pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter |
| components.sessionQueue.dnsPolicy | string | `""` | Specify dnsPolicy for Session Queue pods, this overwrites global.seleniumGrid.dnsPolicy parameter |
| components.sessionQueue.dnsConfig | object | `{}` | Specify dnsConfig for Session Queue pods, this overwrites global.seleniumGrid.dnsConfig parameter |
| components.sessionQueue.annotations | object | `{}` | Custom annotations for Session Queue pods |
| components.sessionQueue.port | int | `5559` | Session Queue container port |
| components.sessionQueue.nodePort | int | `30559` | Session Queue expose NodePort |
Expand All @@ -336,6 +348,8 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
| hub.imagePullSecret | string | `""` | Image pull secret (see https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/) |
| hub.affinity | object | `{}` | Specify affinity for Selenium Hub pods, this overwrites global.seleniumGrid.affinity parameter |
| hub.topologySpreadConstraints | list | `[]` | Specify topologySpreadConstraints for Hub pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter |
| hub.dnsPolicy | string | `""` | Specify dnsPolicy for Hub pods, this overwrites global.seleniumGrid.dnsPolicy parameter |
| hub.dnsConfig | object | `{}` | Specify dnsConfig for Hub pods, this overwrites global.seleniumGrid.dnsConfig parameter |
| hub.annotations | object | `{}` | Custom annotations for Selenium Hub pods |
| hub.labels | object | `{}` | Custom labels for Selenium Hub pods |
| hub.disableUI | bool | `false` | Disable the Grid UI |
Expand Down Expand Up @@ -476,6 +490,8 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
| chromeNode.nodePort | string | `nil` | Node component expose NodePort |
| chromeNode.affinity | object | `{}` | Specify affinity for chrome-node pods, this overwrites global.seleniumGrid.affinity parameter |
| chromeNode.topologySpreadConstraints | list | `[]` | Specify topologySpreadConstraints for chrome-node pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter |
| chromeNode.dnsPolicy | string | `""` | Specify dnsPolicy for chrome-node pods, this overwrites global.seleniumGrid.dnsPolicy parameter |
| chromeNode.dnsConfig | object | `{}` | Specify dnsConfig for chrome-node pods, this overwrites global.seleniumGrid.dnsConfig parameter |
| chromeNode.annotations | object | `{}` | Annotations for chrome-node pods |
| chromeNode.labels | object | `{}` | Labels for chrome-node pods |
| chromeNode.shareProcessNamespace | bool | `true` | Shared process namespace for chrome-node pods |
Expand Down Expand Up @@ -536,6 +552,8 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
| firefoxNode.nodePort | string | `nil` | Node component expose NodePort |
| firefoxNode.affinity | object | `{}` | Specify affinity for firefox-node pods, this overwrites global.seleniumGrid.affinity parameter |
| firefoxNode.topologySpreadConstraints | list | `[]` | Specify topologySpreadConstraints for firefox-node pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter |
| firefoxNode.dnsPolicy | string | `""` | Specify dnsPolicy for firefox-node pods, this overwrites global.seleniumGrid.dnsPolicy parameter |
| firefoxNode.dnsConfig | object | `{}` | Specify dnsConfig for firefox-node pods, this overwrites global.seleniumGrid.dnsConfig parameter |
| firefoxNode.annotations | object | `{}` | Annotations for firefox-node pods |
| firefoxNode.labels | object | `{}` | Labels for firefox-node pods |
| firefoxNode.tolerations | list | `[]` | Tolerations for firefox-node pods |
Expand Down Expand Up @@ -596,6 +614,8 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
| edgeNode.nodePort | string | `nil` | Node component expose NodePort |
| edgeNode.affinity | object | `{}` | Specify affinity for edge-node pods, this overwrites global.seleniumGrid.affinity parameter |
| edgeNode.topologySpreadConstraints | list | `[]` | Specify topologySpreadConstraints for edge-node pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter |
| edgeNode.dnsPolicy | string | `""` | Specify dnsPolicy for edge-node pods, this overwrites global.seleniumGrid.dnsPolicy parameter |
| edgeNode.dnsConfig | object | `{}` | Specify dnsConfig for edge-node pods, this overwrites global.seleniumGrid.dnsConfig parameter |
| edgeNode.annotations | object | `{}` | Annotations for edge-node pods |
| edgeNode.labels | object | `{}` | Labels for edge-node pods |
| edgeNode.tolerations | list | `[]` | Tolerations for edge-node pods |
Expand Down Expand Up @@ -657,6 +677,8 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
| relayNode.nodePort | string | `nil` | Node component expose NodePort |
| relayNode.affinity | object | `{}` | Specify affinity for relay-node pods, this overwrites global.seleniumGrid.affinity parameter |
| relayNode.topologySpreadConstraints | list | `[]` | Specify topologySpreadConstraints for relay-node pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter |
| relayNode.dnsPolicy | string | `""` | Specify dnsPolicy for relay-node pods, this overwrites global.seleniumGrid.dnsPolicy parameter |
| relayNode.dnsConfig | object | `{}` | Specify dnsConfig for relay-node pods, this overwrites global.seleniumGrid.dnsConfig parameter |
| relayNode.annotations | object | `{}` | Annotations for relay-node pods |
| relayNode.labels | object | `{}` | Labels for relay-node pods |
| relayNode.shareProcessNamespace | bool | `true` | Shared process namespace for relay-node pods |
Expand Down Expand Up @@ -750,6 +772,8 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
| videoManager.extraEnvFrom | list | `[]` | Specify extra environment variables from ConfigMap and Secret for Router |
| videoManager.affinity | object | `{}` | Specify affinity for router pods, this overwrites global.seleniumGrid.affinity parameter |
| videoManager.topologySpreadConstraints | list | `[]` | Specify topologySpreadConstraints for router pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter |
| videoManager.dnsPolicy | string | `""` | Specify dnsPolicy for file-browser pods, this overwrites global.seleniumGrid.dnsPolicy parameter |
| videoManager.dnsConfig | object | `{}` | Specify dnsConfig for file-browser pods, this overwrites global.seleniumGrid.dnsConfig parameter |
| videoManager.annotations | object | `{}` | Custom annotations for router pods |
| videoManager.port | int | `80` | Router container port |
| videoManager.nodePort | int | `30080` | Router expose NodePort |
Expand Down
7 changes: 7 additions & 0 deletions charts/selenium-grid/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,13 @@ template:
{{- $affinityYaml := default $.Values.global.seleniumGrid.affinity .node.affinity }}
affinity: {{- toYaml $affinityYaml | nindent 6 }}
{{- end }}
{{- if or $.Values.global.seleniumGrid.dnsPolicy .node.dnsPolicy }}
dnsPolicy: {{ default $.Values.global.seleniumGrid.dnsPolicy .node.dnsPolicy }}
{{- end }}
{{- if or $.Values.global.seleniumGrid.dnsConfig .node.dnsConfig }}
{{- $dnsConfigYaml := default $.Values.global.seleniumGrid.dnsConfig .node.dnsConfig }}
dnsConfig: {{- toYaml $dnsConfigYaml | nindent 6 }}
{{- end }}
{{- if or $.Values.global.seleniumGrid.topologySpreadConstraints .node.topologySpreadConstraints }}
{{- $topologySpreadConstraints := default $.Values.global.seleniumGrid.topologySpreadConstraints .node.topologySpreadConstraints }}
{{- $appName := .name }}
Expand Down
7 changes: 7 additions & 0 deletions charts/selenium-grid/templates/distributor-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,13 @@ spec:
{{- $affinityYaml := default .Values.global.seleniumGrid.affinity .Values.components.distributor.affinity }}
affinity: {{- toYaml $affinityYaml | nindent 8 }}
{{- end }}
{{- if or .Values.global.seleniumGrid.dnsPolicy .Values.components.distributor.dnsPolicy }}
dnsPolicy: {{ default .Values.global.seleniumGrid.dnsPolicy .Values.components.distributor.dnsPolicy }}
{{- end }}
{{- if or .Values.global.seleniumGrid.dnsConfig .Values.components.distributor.dnsConfig }}
{{- $dnsConfigYaml := default .Values.global.seleniumGrid.dnsConfig .Values.components.distributor.dnsConfig }}
dnsConfig: {{- toYaml $dnsConfigYaml | nindent 8 }}
{{- end }}
{{- if or .Values.global.seleniumGrid.topologySpreadConstraints .Values.components.distributor.topologySpreadConstraints }}
{{- $topologySpreadConstraints := default .Values.global.seleniumGrid.topologySpreadConstraints .Values.components.distributor.topologySpreadConstraints }}
topologySpreadConstraints:
Expand Down
7 changes: 7 additions & 0 deletions charts/selenium-grid/templates/event-bus-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,13 @@ spec:
{{- $affinityYaml := default .Values.global.seleniumGrid.affinity .Values.components.eventBus.affinity }}
affinity: {{- toYaml $affinityYaml | nindent 8 }}
{{- end }}
{{- if or .Values.global.seleniumGrid.dnsPolicy .Values.components.eventBus.dnsPolicy }}
dnsPolicy: {{ default .Values.global.seleniumGrid.dnsPolicy .Values.components.eventBus.dnsPolicy }}
{{- end }}
{{- if or .Values.global.seleniumGrid.dnsConfig .Values.components.eventBus.dnsConfig }}
{{- $dnsConfigYaml := default .Values.global.seleniumGrid.dnsConfig .Values.components.eventBus.dnsConfig }}
dnsConfig: {{- toYaml $dnsConfigYaml | nindent 8 }}
{{- end }}
{{- if or .Values.global.seleniumGrid.topologySpreadConstraints .Values.components.eventBus.topologySpreadConstraints }}
{{- $topologySpreadConstraints := default .Values.global.seleniumGrid.topologySpreadConstraints .Values.components.eventBus.topologySpreadConstraints }}
topologySpreadConstraints:
Expand Down
7 changes: 7 additions & 0 deletions charts/selenium-grid/templates/hub-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,13 @@ spec:
{{- $affinityYaml := default .Values.global.seleniumGrid.affinity .Values.hub.affinity }}
affinity: {{- toYaml $affinityYaml | nindent 8 }}
{{- end }}
{{- if or .Values.global.seleniumGrid.dnsPolicy .Values.hub.dnsPolicy }}
dnsPolicy: {{ default .Values.global.seleniumGrid.dnsPolicy .Values.hub.dnsPolicy }}
{{- end }}
{{- if or .Values.global.seleniumGrid.dnsConfig .Values.hub.dnsConfig }}
{{- $dnsConfigYaml := default .Values.global.seleniumGrid.dnsConfig .Values.hub.dnsConfig }}
dnsConfig: {{- toYaml $dnsConfigYaml | nindent 8 }}
{{- end }}
{{- if or .Values.global.seleniumGrid.topologySpreadConstraints .Values.hub.topologySpreadConstraints }}
{{- $topologySpreadConstraints := default .Values.global.seleniumGrid.topologySpreadConstraints .Values.hub.topologySpreadConstraints }}
topologySpreadConstraints:
Expand Down
7 changes: 7 additions & 0 deletions charts/selenium-grid/templates/router-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,13 @@ spec:
{{- $affinityYaml := default .Values.global.seleniumGrid.affinity .Values.components.router.affinity }}
affinity: {{- toYaml $affinityYaml | nindent 8 }}
{{- end }}
{{- if or .Values.global.seleniumGrid.dnsPolicy .Values.components.router.dnsPolicy }}
dnsPolicy: {{ default .Values.global.seleniumGrid.dnsPolicy .Values.components.router.dnsPolicy }}
{{- end }}
{{- if or .Values.global.seleniumGrid.dnsConfig .Values.components.router.dnsConfig }}
{{- $dnsConfigYaml := default .Values.global.seleniumGrid.dnsConfig .Values.components.router.dnsConfig }}
dnsConfig: {{- toYaml $dnsConfigYaml | nindent 8 }}
{{- end }}
{{- if or .Values.global.seleniumGrid.topologySpreadConstraints .Values.components.router.topologySpreadConstraints }}
{{- $topologySpreadConstraints := default .Values.global.seleniumGrid.topologySpreadConstraints .Values.components.router.topologySpreadConstraints }}
topologySpreadConstraints:
Expand Down
7 changes: 7 additions & 0 deletions charts/selenium-grid/templates/session-map-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,13 @@ spec:
{{- $affinityYaml := default .Values.global.seleniumGrid.affinity .Values.components.sessionMap.affinity }}
affinity: {{- toYaml $affinityYaml | nindent 8 }}
{{- end }}
{{- if or .Values.global.seleniumGrid.dnsPolicy .Values.components.sessionMap.dnsPolicy }}
dnsPolicy: {{ default .Values.global.seleniumGrid.dnsPolicy .Values.components.sessionMap.dnsPolicy }}
{{- end }}
{{- if or .Values.global.seleniumGrid.dnsConfig .Values.components.sessionMap.dnsConfig }}
{{- $dnsConfigYaml := default .Values.global.seleniumGrid.dnsConfig .Values.components.sessionMap.dnsConfig }}
dnsConfig: {{- toYaml $dnsConfigYaml | nindent 8 }}
{{- end }}
{{- if or .Values.global.seleniumGrid.topologySpreadConstraints .Values.components.sessionMap.topologySpreadConstraints }}
{{- $topologySpreadConstraints := default .Values.global.seleniumGrid.topologySpreadConstraints .Values.components.sessionMap.topologySpreadConstraints }}
topologySpreadConstraints:
Expand Down
7 changes: 7 additions & 0 deletions charts/selenium-grid/templates/session-queue-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,13 @@ spec:
{{- $affinityYaml := default .Values.global.seleniumGrid.affinity .Values.components.sessionQueue.affinity }}
affinity: {{- toYaml $affinityYaml | nindent 8 }}
{{- end }}
{{- if or .Values.global.seleniumGrid.dnsPolicy .Values.components.sessionQueue.dnsPolicy }}
dnsPolicy: {{ default .Values.global.seleniumGrid.dnsPolicy .Values.components.sessionQueue.dnsPolicy }}
{{- end }}
{{- if or .Values.global.seleniumGrid.dnsConfig .Values.components.sessionQueue.dnsConfig }}
{{- $dnsConfigYaml := default .Values.global.seleniumGrid.dnsConfig .Values.components.sessionQueue.dnsConfig }}
dnsConfig: {{- toYaml $dnsConfigYaml | nindent 8 }}
{{- end }}
{{- if or .Values.global.seleniumGrid.topologySpreadConstraints .Values.components.sessionQueue.topologySpreadConstraints }}
{{- $topologySpreadConstraints := default .Values.global.seleniumGrid.topologySpreadConstraints .Values.components.sessionQueue.topologySpreadConstraints }}
topologySpreadConstraints:
Expand Down
Loading
Loading