forked from alcounit/selenosis-deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
04-selenoid-ui.yaml
71 lines (71 loc) · 1.67 KB
/
04-selenoid-ui.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
apiVersion: apps/v1
kind: Deployment
metadata:
name: selenoid-ui
namespace: selenosis
spec:
replicas: 1
strategy:
rollingUpdate:
maxUnavailable: 0
maxSurge: 1
selector:
matchLabels:
app: selenoid-ui
template:
metadata:
labels:
app: selenoid-ui
selenosis.app.type: worker
namespace: selenosis
spec:
containers:
- args: ["--status-uri", "http://localhost:4444", "-webdriver-uri", "http://selenosis:4444"]
name: selenoid-ui
imagePullPolicy: IfNotPresent
image: aerokube/selenoid-ui:1.10.1
resources:
limits:
cpu: "0.25"
memory: "64Mi"
requests:
cpu: "0.05"
memory: "64Mi"
ports:
- containerPort: 8080
name: http
protocol: TCP
- args: ["--port", ":4444", "--selenosis-url", "http://selenosis:4444"]
name: selenoid-ui-adapter
imagePullPolicy: IfNotPresent
image: alcounit/adaptee:v0.0.2-develop
resources:
limits:
cpu: "0.25"
memory: "64Mi"
requests:
cpu: "0.05"
memory: "64Mi"
dnsPolicy: ClusterFirst
restartPolicy: Always
terminationGracePeriodSeconds: 0
---
apiVersion: v1
kind: Service
metadata:
name: selenoid-ui
namespace: selenosis
spec:
externalTrafficPolicy: Cluster
ports:
- name: selenoid-ui
port: 8080
targetPort: 8080
nodePort: 32000
protocol: TCP
selector:
app: selenoid-ui
sessionAffinity: None
type: LoadBalancer
status:
loadBalancer: {}