File tree Expand file tree Collapse file tree 2 files changed +72
-2
lines changed Expand file tree Collapse file tree 2 files changed +72
-2
lines changed Original file line number Diff line number Diff line change 1
- FROM registry.redhat.io /ubi8/nodejs-14
1
+ FROM registry.access. redhat.com /ubi8/nodejs-14
2
2
USER root
3
3
WORKDIR /docs
4
4
COPY . .
@@ -9,4 +9,4 @@ RUN npm run build
9
9
10
10
EXPOSE 3000
11
11
USER 1001
12
- CMD npm run serve
12
+ CMD node server.js
Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : Service
3
+ metadata :
4
+ labels :
5
+ app : frontend-docs
6
+ name : frontend-docs
7
+ namespace : insights
8
+ spec :
9
+ ports :
10
+ - name : 3000-tcp
11
+ port : 3000
12
+ - name : 8080-tcp
13
+ port : 8080
14
+ selector :
15
+ app : frontend-docs
16
+ ---
17
+ apiVersion : apps/v1
18
+ kind : Deployment
19
+ metadata :
20
+ name : frontend-docs
21
+ namespace : insights
22
+ spec :
23
+ progressDeadlineSeconds : 600
24
+ replicas : 1
25
+ revisionHistoryLimit : 10
26
+ selector :
27
+ matchLabels :
28
+ app : frontend-docs
29
+ strategy :
30
+ rollingUpdate :
31
+ maxSurge : 25%
32
+ maxUnavailable : 25%
33
+ type : RollingUpdate
34
+ template :
35
+ metadata :
36
+ labels :
37
+ app : frontend-docs
38
+ spec :
39
+ containers :
40
+ - image : quay.io/lphiri/frontend-docs:latest
41
+ imagePullPolicy : Always
42
+ name : frontend-docs
43
+ ports :
44
+ - containerPort : 3000
45
+ protocol : TCP
46
+ - containerPort : 8080
47
+ protocol : TCP
48
+ terminationMessagePath : /dev/termination-log
49
+ terminationMessagePolicy : File
50
+ dnsPolicy : ClusterFirst
51
+ restartPolicy : Always
52
+ schedulerName : default-scheduler
53
+ terminationGracePeriodSeconds : 30
54
+ ---
55
+ apiVersion : route.openshift.io/v1
56
+ kind : Route
57
+ metadata :
58
+ labels :
59
+ app : frontend-docs
60
+ name : frontend-docs
61
+ namespace : insights
62
+ spec :
63
+ host : front-end-docs-insights.apps.ocp4.prod.psi.redhat.com
64
+ port :
65
+ targetPort : 3000-tcp
66
+ to :
67
+ kind : Service
68
+ name : frontend-docs
69
+ weight : 100
70
+ wildcardPolicy : None
You can’t perform that action at this time.
0 commit comments