-
Notifications
You must be signed in to change notification settings - Fork 13
/
portal-ui-dp.yml
43 lines (43 loc) · 901 Bytes
/
portal-ui-dp.yml
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
---
kind: Deployment
apiVersion: extensions/v1beta1
metadata:
labels:
app: portal-ui
daemon: ui
name: portal-ui
spec:
replicas: 1
template:
metadata:
name: portal-ui
labels:
app: portal-ui
daemon: ui
spec:
containers:
- name: portal-ui
image: inwinstack/s3-portal-ui:dev
ports:
- containerPort: 3000
env:
- name: API_HOST
value: portal-api.default.svc.cluster.local
livenessProbe:
httpGet:
path: /
port: 3000
initialDelaySeconds: 120
timeoutSeconds: 5
readinessProbe:
httpGet:
path: /
port: 3000
timeoutSeconds: 5
resources:
requests:
memory: "512Mi"
cpu: "1.0"
limits:
memory: "512Mi"
cpu: "1.0"