-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
/
Copy pathsimplex-minikube.yaml
80 lines (68 loc) · 2.3 KB
/
simplex-minikube.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
74
75
76
77
78
79
80
# README: This is a sample values for chart deployment in Minikube
# Chart dependency ingress-nginx is installed together by enabling `ingress-nginx.enabled`
# Chart dependency keda is installed together by enabling `autoscaling.enable`
# Enabled ingress without hostname, set the subPath `/selenium`. Set K8S_PUBLIC_IP point to the public host IP, where Minikube is running
# `ingress-nginx.controller.hostNetwork` is set to true to allow access from outside the cluster via http://<K8S_PUBLIC_IP>/selenium
# 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
# 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>`
global:
seleniumGrid:
logLevel: INFO
tls:
ingress:
enabled: true
ingress:
enableWithController: 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: ""
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
scaledOptions:
minReplicaCount: 0
maxReplicaCount: 8
pollingInterval: 15
scaledJobOptions:
successfulJobsHistoryLimit: 0
failedJobsHistoryLimit: 5
scalingStrategy:
strategy: default
hub:
subPath: *gridAppRoot
serviceType: NodePort
components:
router:
subPath: *gridAppRoot
serviceType: NodePort
chromeNode:
extraEnvironmentVariables: &extraEnvironmentVariablesNodes
- name: SE_VNC_NO_PASSWORD
value: "true"
firefoxNode:
extraEnvironmentVariables: *extraEnvironmentVariablesNodes
edgeNode:
extraEnvironmentVariables: *extraEnvironmentVariablesNodes
videoRecorder:
enabled: false
ingress-nginx:
controller:
hostPort:
enabled: true
kind: DaemonSet
service:
type: LoadBalancer