onap on kubernetes source files
[oom.git] / kubernetes / robot / robot-deployment.yaml
1 apiVersion: extensions/v1beta1
2 kind: Deployment
3 metadata:
4   name: robot
5 spec:
6   selector:
7     matchLabels:
8       app: robot
9   template:
10     metadata:
11        labels:
12         app: robot
13        name: robot
14     spec:
15       containers:
16       - image: nexus3.onap.org:10001/openecomp/testsuite:1.0-STAGING-latest
17         name: robot
18         volumeMounts:
19         - name: robot-eteshare
20           mountPath: /share
21         - name: robot-assets
22           mountPath: /var/opt/OpenECOMP_ETE/robot/assets
23         - name: robot-resources
24           mountPath: /var/opt/OpenECOMP_ETE/robot/resources
25         - name: robot-testsuites
26           mountPath: /var/opt/OpenECOMP_ETE/robot/testsuites
27         - name: lighttpd-authorization
28           mountPath: /etc/lighttpd/authorization
29         ports:
30         - containerPort: 88
31         readinessProbe:
32           tcpSocket:
33             port: 88
34           initialDelaySeconds: 5
35           periodSeconds: 10
36       volumes:
37         - name: robot-eteshare
38           hostPath:
39             path: /dockerdata-nfs/onapdemo/robot/eteshare
40         - name: robot-assets
41           hostPath:
42             path: /dockerdata-nfs/onapdemo/robot/robot/assets
43         - name: robot-resources
44           hostPath:
45             path: /dockerdata-nfs/onapdemo/robot/robot/resources
46         - name: robot-testsuites
47           hostPath:
48             path: /dockerdata-nfs/onapdemo/robot/robot/testsuites
49         - name: lighttpd-authorization
50           hostPath:
51             path: /dockerdata-nfs/onapdemo/robot/authorization