blob: acb29dad09c67cefd466479db4fc3239cb99fd49 [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableAaiHbase }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -04002apiVersion: extensions/v1beta1
3kind: Deployment
4metadata:
5 name: hbase
Mandeep Khinda0e8f8892017-08-25 03:31:17 +00006 namespace: "{{ .Values.nsPrefix }}-aai"
Mandeep Khindad6ea9872017-06-24 11:49:37 -04007spec:
8 selector:
9 matchLabels:
10 app: hbase
11 template:
12 metadata:
13 labels:
14 app: hbase
15 name: hbase
16 spec:
17 hostname: hbase
Mandeep Khindad6ea9872017-06-24 11:49:37 -040018 containers:
19 - name: hbase
Mandeep Khinda4b881972017-08-30 14:24:02 +000020 image: "{{ .Values.image.aaiHbaseImage }}:{{ .Values.image.aaiHbaseVersion }}"
kerenjfdc17622017-08-24 11:32:22 +000021 imagePullPolicy: {{ .Values.pullPolicy }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040022 ports:
Mandeep Khinda4b881972017-08-30 14:24:02 +000023 - containerPort: 2181
24 - containerPort: 8080
25 - containerPort: 8085
26 - containerPort: 9090
27 - containerPort: 16000
28 - containerPort: 16010
29 - containerPort: 16201
Mandeep Khindad6ea9872017-06-24 11:49:37 -040030 readinessProbe:
31 tcpSocket:
Mandeep Khinda4b881972017-08-30 14:24:02 +000032 port: 2181
Mandeep Khindad6ea9872017-06-24 11:49:37 -040033 initialDelaySeconds: 5
34 periodSeconds: 10
yuryn8b3bc5a2017-09-13 19:21:03 +030035 volumeMounts:
Munir Ahmad05b29cc2018-01-30 17:13:19 -050036 - name: hbase-data
37 mountPath: /tmp
yuryn8b3bc5a2017-09-13 19:21:03 +030038 - name: localtime
39 mountPath: /etc/localtime
40 readOnly: true
41 volumes:
Munir Ahmad05b29cc2018-01-30 17:13:19 -050042 - name: hbase-data
43 hostPath:
44 path: /dockerdata-nfs/onap/aai/hbase
yuryn8b3bc5a2017-09-13 19:21:03 +030045 - name: localtime
46 hostPath:
47 path: /etc/localtime
Borislav Glozman5197e2e2017-07-24 10:45:28 +030048 imagePullSecrets:
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000049 - name: "{{ .Values.nsPrefix }}-docker-registry-key"
Munir Ahmad05b29cc2018-01-30 17:13:19 -050050#{{ end }}