summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2017-06-24 11:49:37 -0400
committerMandeep Khinda <Mandeep.Khinda@amdocs.com>2017-06-24 11:49:37 -0400
commit0f8f5459775dd2add0547114770fba76e72b4984 (patch)
tree34db1a7a49c395f83367957485785c419e73a25b
onap on kubernetes source files
Change-Id: I4de34baf90979651223a28323010deb7aef21946 Signed-off-by: Mandeep Khinda <Mandeep.Khinda@amdocs.com>
-rw-r--r--all-services.yaml13
-rw-r--r--robot-deployment.yaml51
2 files changed, 64 insertions, 0 deletions
diff --git a/all-services.yaml b/all-services.yaml
new file mode 100644
index 0000000..b152454
--- /dev/null
+++ b/all-services.yaml
@@ -0,0 +1,13 @@
+apiVersion: v1
+kind: Service
+metadata:
+ labels:
+ app: robot
+ name: robot
+spec:
+ ports:
+ - port: 88
+ nodePort: 30209
+ selector:
+ app: robot
+ type: NodePort
diff --git a/robot-deployment.yaml b/robot-deployment.yaml
new file mode 100644
index 0000000..a29e611
--- /dev/null
+++ b/robot-deployment.yaml
@@ -0,0 +1,51 @@
+apiVersion: extensions/v1beta1
+kind: Deployment
+metadata:
+ name: robot
+spec:
+ selector:
+ matchLabels:
+ app: robot
+ template:
+ metadata:
+ labels:
+ app: robot
+ name: robot
+ spec:
+ containers:
+ - image: nexus3.onap.org:10001/openecomp/testsuite:1.0-STAGING-latest
+ name: robot
+ volumeMounts:
+ - name: robot-eteshare
+ mountPath: /share
+ - name: robot-assets
+ mountPath: /var/opt/OpenECOMP_ETE/robot/assets
+ - name: robot-resources
+ mountPath: /var/opt/OpenECOMP_ETE/robot/resources
+ - name: robot-testsuites
+ mountPath: /var/opt/OpenECOMP_ETE/robot/testsuites
+ - name: lighttpd-authorization
+ mountPath: /etc/lighttpd/authorization
+ ports:
+ - containerPort: 88
+ readinessProbe:
+ tcpSocket:
+ port: 88
+ initialDelaySeconds: 5
+ periodSeconds: 10
+ volumes:
+ - name: robot-eteshare
+ hostPath:
+ path: /dockerdata-nfs/onapdemo/robot/eteshare
+ - name: robot-assets
+ hostPath:
+ path: /dockerdata-nfs/onapdemo/robot/robot/assets
+ - name: robot-resources
+ hostPath:
+ path: /dockerdata-nfs/onapdemo/robot/robot/resources
+ - name: robot-testsuites
+ hostPath:
+ path: /dockerdata-nfs/onapdemo/robot/robot/testsuites
+ - name: lighttpd-authorization
+ hostPath:
+ path: /dockerdata-nfs/onapdemo/robot/authorization