-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathservice-deployment.yaml
43 lines (43 loc) · 1.04 KB
/
service-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
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose --file docker-compose.yml convert --volumes hostPath
kompose.version: 1.19.0 (f63a961c)
creationTimestamp: null
labels:
io.kompose.service: service
name: service
spec:
replicas: 1
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose --file docker-compose.yml convert --volumes hostPath
kompose.version: 1.19.0 (f63a961c)
creationTimestamp: null
labels:
io.kompose.service: service
spec:
containers:
- args:
- ./wait-for-it.sh
- postgres:5432
- --
- ./start-odk.sh
env:
- name: DOMAIN
image: service
name: service
resources: {}
volumeMounts:
- mountPath: /data/target/
name: service-hostpath0
restartPolicy: Always
volumes:
- hostPath:
path: /home/akurnya/odk/home/akurnya/odk/data/target
name: service-hostpath0
status: {}