Skip to content

Commit c914033

Browse files
committed
Update sample chart refValues for deployment
[skip ci] Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent 1e72a80 commit c914033

File tree

2 files changed

+83
-0
lines changed

2 files changed

+83
-0
lines changed
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# README: This is a sample values for chart deployment in EKS AWS
2+
# Chart dependency ingress-nginx is installed together by enabling `ingress-nginx.enabled`. On AWS, ingress-nginx is installed as a Classic LoadBalancer
3+
# Chart dependency keda is installed together by enabling `autoscaling.enable`
4+
# Enabled ingress with hostname, set the subPath `/selenium`. Grid is accessible via http://my.hostname/selenium
5+
# 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>`
6+
global:
7+
K8S_PUBLIC_IP: ""
8+
seleniumGrid:
9+
logLevel: INFO # Change to FINE when you want to debug the issue
10+
11+
ingress:
12+
enabled: true
13+
annotations:
14+
kubernetes.io/ingress.class: nginx
15+
nginx.ingress.kubernetes.io/use-regex: "true"
16+
nginx.ingress.kubernetes.io/rewrite-target: /$2
17+
nginx.ingress.kubernetes.io/app-root: &gridAppRoot "/selenium"
18+
ingressClassName: nginx
19+
hostname: "aws.ndviet.org" # Replace with your hostname
20+
paths:
21+
- path: /selenium(/|$)(.*)
22+
pathType: ImplementationSpecific
23+
backend:
24+
service:
25+
name: '{{ template "seleniumGrid.router.fullname" $ }}'
26+
port:
27+
number: 4444
28+
29+
basicAuth:
30+
enabled: false
31+
32+
isolateComponents: true
33+
34+
autoscaling:
35+
enabled: true
36+
scalingType: job
37+
annotations:
38+
helm.sh/hook: post-install,post-upgrade,post-rollback
39+
scaledOptions:
40+
minReplicaCount: 0
41+
maxReplicaCount: 8
42+
pollingInterval: 15
43+
scaledJobOptions:
44+
successfulJobsHistoryLimit: 0
45+
failedJobsHistoryLimit: 5
46+
scalingStrategy:
47+
strategy: default
48+
49+
hub:
50+
subPath: *gridAppRoot
51+
52+
components:
53+
subPath: *gridAppRoot
54+
55+
chromeNode:
56+
extraEnvironmentVariables: &extraEnvironmentVariablesNodes
57+
- name: SE_NODE_SESSION_TIMEOUT
58+
value: "300"
59+
- name: SE_VNC_NO_PASSWORD
60+
value: "true"
61+
- name: SE_OPTS
62+
value: "--enable-managed-downloads true"
63+
startupProbe: &nodeStartupProbe
64+
httpGet:
65+
path: /status
66+
port: 5555
67+
failureThreshold: 120
68+
periodSeconds: 1
69+
70+
firefoxNode:
71+
extraEnvironmentVariables: *extraEnvironmentVariablesNodes
72+
startupProbe: *nodeStartupProbe
73+
74+
edgeNode:
75+
extraEnvironmentVariables: *extraEnvironmentVariablesNodes
76+
startupProbe: *nodeStartupProbe
77+
78+
videoRecorder:
79+
enabled: false
80+
81+
ingress-nginx:
82+
enabled: true

tests/charts/refValues/simplex-minikube.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# Enabled ingress without hostname, set the subPath `/selenium`. Set K8S_PUBLIC_IP point to the public host IP, where Minikube is running
55
# `ingress-nginx.controller.hostNetwork` is set to true to allow access from outside the cluster via http://<K8S_PUBLIC_IP>/selenium
66
# Components serviceType is set to NodePort to allow access from outside the cluster via K8S_PUBLIC_IP and NodePort http://<K8S_PUBLIC_IP>:30444/selenium
7+
# Use this reference values to deploy e.g. `helm upgrade --install test --values tests/charts/refValues/simplex-minikube.yaml docker-selenium/selenium-grid --version <0.26.3_onwards>`
78
global:
89
K8S_PUBLIC_IP: "10.10.10.10" # Replace with your public IP
910
seleniumGrid:

0 commit comments

Comments
 (0)