-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreact-app-deployment.yaml
48 lines (48 loc) · 1.18 KB
/
react-app-deployment.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
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.26.1 (HEAD)
creationTimestamp: null
labels:
io.kompose.service: react-app
name: react-app
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: react-app
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.26.1 (HEAD)
creationTimestamp: null
labels:
io.kompose.network/mern-app: "true"
io.kompose.service: react-app
spec:
containers:
- image: react-app
name: react-app
ports:
- containerPort: 3000
resources: {}
stdin: true
volumeMounts:
- mountPath: /usr/src/app
name: react-app-claim0
- mountPath: /usr/src/app/node_modules
name: react-app-claim1
restartPolicy: Always
volumes:
- name: react-app-claim0
persistentVolumeClaim:
claimName: react-app-claim0
- name: react-app-claim1
persistentVolumeClaim:
claimName: react-app-claim1
status: {}