-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdeployment.json
More file actions
52 lines (52 loc) · 1.03 KB
/
deployment.json
File metadata and controls
52 lines (52 loc) · 1.03 KB
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
{
"apiVersion": "apps/v1",
"kind": "Deployment",
"metadata": {
"name": "selenium-node-%UNIQUE_ID%",
"labels": {
"app": "selenium-node-%UNIQUE_ID%"
}
},
"spec": {
"replicas": 1,
"selector": {
"matchLabels": {
"app": "selenium-node-%UNIQUE_ID%"
}
},
"template": {
"metadata": {
"labels": {
"app": "selenium-node-%UNIQUE_ID%"
}
},
"spec": {
"volumes": [
{
"name": "dshm",
"emptyDir": {
"medium": "Memory"
}
}
],
"containers": [
{
"name": "selenium-node-%UNIQUE_ID%",
"image": "selenium/standalone-chrome:3.141.59-gold",
"ports": [
{
"containerPort": 4444
}
],
"volumeMounts": [
{
"mountPath": "/dev/shm",
"name": "dshm"
}
]
}
]
}
}
}
}