Munir Ahmad | 0b13329 | 2017-08-15 15:36:46 -0400 | [diff] [blame] | 1 | apiVersion: extensions/v1beta1 |
| 2 | kind: Deployment |
| 3 | metadata: |
| 4 | name: aai-traversal |
| 5 | spec: |
| 6 | selector: |
| 7 | matchLabels: |
| 8 | app: aai-traversal |
| 9 | template: |
| 10 | metadata: |
| 11 | labels: |
| 12 | app: aai-traversal |
| 13 | name: aai-traversal |
| 14 | spec: |
| 15 | containers: |
| 16 | - env: |
| 17 | - name: CHEF_BRANCH |
| 18 | value: master |
| 19 | - name: AAI_CHEF_ENV |
| 20 | value: simpledemo |
| 21 | - name: AAI_CORE_VERSION |
| 22 | value: 1.1.0-SNAPSHOT |
| 23 | - name: AAI_CHEF_LOC |
| 24 | value: /var/chef/aai-data/environments |
| 25 | - name: CHEF_GIT_URL |
| 26 | value: http://gerrit.onap.org/r/aai |
| 27 | - name: PATH |
| 28 | value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| 29 | - name: JAVA_HOME |
| 30 | value: usr/lib/jvm/java-8-openjdk-amd64 |
| 31 | - name: DEBIAN_FRONTEND |
| 32 | value: noninteractive |
| 33 | image: nexus3.onap.org:10001/openecomp/aai-traversal:1.1-STAGING-latest |
| 34 | name: aai-traversal |
| 35 | volumeMounts: |
| 36 | - mountPath: /opt/aai/logroot/AAI-GQ/ |
| 37 | name: aai-traversal-logs |
| 38 | volumes: |
| 39 | - name: aai-traversal-logs |
| 40 | hostPath: |
| 41 | path: /dockerdata/onapdemo/aai/aai-traversal/logs/ |
| 42 | ports: |
| 43 | - containerPort: 8446 |
| 44 | readinessProbe: |
| 45 | tcpSocket: |
| 46 | port: 8080 |
| 47 | initialDelaySeconds: 5 |
| 48 | periodSeconds: 10 |
| 49 | restartPolicy: Always |
| 50 | imagePullSecrets: |
| 51 | - name: onap-docker-registry-key |