blob: d39d0c745999a04475bccdd5b0edd03abd41e6ce [file] [log] [blame]
Mandeep Khindad6ea9872017-06-24 11:49:37 -04001apiVersion: extensions/v1beta1
2kind: Deployment
3metadata:
4 name: hbase
5spec:
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 Ahmad99cf8b82017-07-31 19:51:59 -040016 volumes:
Munir Ahmad53df1972017-08-08 08:51:51 -040017 - name: hbase-opt-data
Munir Ahmad99cf8b82017-07-31 19:51:59 -040018 hostPath:
19 path: /dockerdata-nfs/onapdemo/aai/hbase/opt/data
Mandeep Khindad6ea9872017-06-24 11:49:37 -040020 containers:
21 - name: hbase
22 image: aaidocker/aai-hbase-1.2.3:latest
Munir Ahmad53df1972017-08-08 08:51:51 -040023 volumeMounts:
24 - mountPath: /opt/data/
25 name: hbase-opt-data
Mandeep Khindad6ea9872017-06-24 11:49:37 -040026 ports:
27 - containerPort: 8020
28 readinessProbe:
29 tcpSocket:
30 port: 8020
31 initialDelaySeconds: 5
32 periodSeconds: 10
Borislav Glozman5197e2e2017-07-24 10:45:28 +030033 imagePullSecrets:
34 - name: onap-docker-registry-key