Hybrid Functional test for vFirewall
[multicloud/k8s.git] / vagrant / tests / vnfs / edgex / kubernetes / deployments / data-deployment.yaml
1 apiVersion: apps/v1
2 kind: Deployment
3 metadata:
4   labels:
5     io.kompose.service: edgex-core-data
6   name: edgex-core-data
7 spec:
8   selector:
9       matchLabels:
10         io.kompose.service: edgex-core-data
11   replicas: 1
12   template:
13     metadata:
14       labels:
15         io.kompose.service: edgex-core-data
16     spec:
17       containers:
18       - image: edgexfoundry/docker-core-data:0.2.1
19         name: edgex-core-data
20         ports:
21         - containerPort: 48080
22         - containerPort: 5563
23         resources: {}
24         volumeMounts:
25         - mountPath: /data/db
26           name: data-db
27         - mountPath: /edgex/logs
28           name: edgex-logs
29         - mountPath: /consul/config
30           name: consul-config
31         - mountPath: /consul/data
32           name: consul-data
33       restartPolicy: Always
34       volumes:
35       - name: data-db
36         hostPath:
37           path: /data/db
38       - name: edgex-logs
39         hostPath:
40           path: /edgex/logs
41       - name: consul-config
42         hostPath:
43           path: /consul/config
44       - name: consul-data
45         hostPath:
46           path: /consul/data
47 status: {}