This repository has been archived by the owner on Jun 22, 2024. It is now read-only.
forked from SeleniumHQ/docker-selenium
-
Notifications
You must be signed in to change notification settings - Fork 26
/
sample-aws.yaml
73 lines (62 loc) · 2.15 KB
/
sample-aws.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# README: This is a sample values for chart deployment in EKS AWS
# Chart dependency ingress-nginx is installed together by enabling `ingress-nginx.enabled`. On AWS, ingress-nginx is installed as a Classic LoadBalancer
# Chart dependency keda is installed together by enabling `autoscaling.enable`
# Enabled ingress with hostname, set the subPath `/selenium`. Grid is accessible via http://my.hostname/selenium
# Use this reference values to deploy e.g. `helm upgrade --install test --values tests/charts/refValues/sample-aws.yaml docker-selenium/selenium-grid --version <0.26.3_onwards>`
global:
K8S_PUBLIC_IP: ""
seleniumGrid:
logLevel: INFO # Change to FINE when you want to debug the issue
ingress:
enabled: true
annotations:
nginx.ingress.kubernetes.io/use-regex: "true"
nginx.ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/app-root: &gridAppRoot "/selenium"
className: nginx
hostname: "aws.ndviet.org" # Replace with your hostname
paths:
- path: /selenium(/|$)(.*)
pathType: ImplementationSpecific
backend:
service:
name: '{{ ternary (include "seleniumGrid.router.fullname" $ ) (include "seleniumGrid.hub.fullname" $ ) $.Values.isolateComponents }}'
port:
number: 4444
basicAuth:
enabled: false
isolateComponents: true
autoscaling:
enabled: true
scalingType: job
annotations:
helm.sh/hook: post-install,post-upgrade,post-rollback
scaledOptions:
minReplicaCount: 0
maxReplicaCount: 8
pollingInterval: 15
scaledJobOptions:
successfulJobsHistoryLimit: 0
failedJobsHistoryLimit: 5
scalingStrategy:
strategy: default
hub:
subPath: *gridAppRoot
components:
subPath: *gridAppRoot
chromeNode:
extraEnvironmentVariables: &extraEnvironmentVariablesNodes
- name: SE_NODE_SESSION_TIMEOUT
value: "300"
- name: SE_VNC_NO_PASSWORD
value: "true"
- name: SE_NODE_ENABLE_MANAGED_DOWNLOADS
value: "true"
firefoxNode:
extraEnvironmentVariables: *extraEnvironmentVariablesNodes
edgeNode:
extraEnvironmentVariables: *extraEnvironmentVariablesNodes
videoRecorder:
enabled: false
ingress-nginx:
enabled: true