-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathselenium-node-chrome.yaml
More file actions
41 lines (41 loc) · 974 Bytes
/
selenium-node-chrome.yaml
File metadata and controls
41 lines (41 loc) · 974 Bytes
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
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
run: selenium-node-chrome
group: selenium-grid
name: selenium-node-chrome
namespace: default
spec:
replicas: 6
selector:
matchLabels:
run: selenium-node-chrome
template:
metadata:
labels:
run: selenium-node-chrome
group: selenium-grid
spec:
containers:
- name: selenium-node-chrome
image: selenium/node-chrome:3.12.0
env:
- name: HUB_PORT_4444_TCP_ADDR
value: selenium-hub-service
- name: HUB_PORT_4444_TCP_PORT
value: "4444"
- name: NODE_MAX_INSTANCES
value: "6"
- name: NODE_MAX_SESSION
value: "3"
- name: SE_OPTS
value: "-browserTimeout 60"
volumeMounts:
- mountPath: "/dev/shm"
name: "dshm"
volumes:
- name: "dshm"
emptyDir:
medium: "Memory"
restartPolicy: Always