Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 1 | apiVersion: extensions/v1beta1 |
| 2 | kind: Deployment |
| 3 | metadata: |
| 4 | name: hbase |
| 5 | spec: |
| 6 | selector: |
| 7 | matchLabels: |
| 8 | app: hbase |
| 9 | template: |
| 10 | metadata: |
| 11 | labels: |
| 12 | app: hbase |
| 13 | name: hbase |
| 14 | spec: |
| 15 | hostname: hbase |
Munir Ahmad | 99cf8b8 | 2017-07-31 19:51:59 -0400 | [diff] [blame] | 16 | volumes: |
Munir Ahmad | 53df197 | 2017-08-08 08:51:51 -0400 | [diff] [blame] | 17 | - name: hbase-opt-data |
Munir Ahmad | 99cf8b8 | 2017-07-31 19:51:59 -0400 | [diff] [blame] | 18 | hostPath: |
| 19 | path: /dockerdata-nfs/onapdemo/aai/hbase/opt/data |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 20 | containers: |
| 21 | - name: hbase |
| 22 | image: aaidocker/aai-hbase-1.2.3:latest |
Munir Ahmad | 53df197 | 2017-08-08 08:51:51 -0400 | [diff] [blame] | 23 | volumeMounts: |
| 24 | - mountPath: /opt/data/ |
| 25 | name: hbase-opt-data |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 26 | ports: |
| 27 | - containerPort: 8020 |
| 28 | readinessProbe: |
| 29 | tcpSocket: |
| 30 | port: 8020 |
| 31 | initialDelaySeconds: 5 |
| 32 | periodSeconds: 10 |
Borislav Glozman | 5197e2e | 2017-07-24 10:45:28 +0300 | [diff] [blame] | 33 | imagePullSecrets: |
| 34 | - name: onap-docker-registry-key |