blob: acb29dad09c67cefd466479db4fc3239cb99fd49 [file] [log] [blame]
yuryn5d0587b2017-10-26 17:10:50 +03001#{{ if not .Values.disableAaiHbase }}
Mandeep Khinda71439a72017-06-24 11:49:37 -04002apiVersion: extensions/v1beta1
3kind: Deployment
4metadata:
5 name: hbase
Mandeep Khindaa71542f2017-08-25 03:31:17 +00006 namespace: "{{ .Values.nsPrefix }}-aai"
Mandeep Khinda71439a72017-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 Khinda71439a72017-06-24 11:49:37 -040018 containers:
19 - name: hbase
Mandeep Khindafc068432017-08-30 14:24:02 +000020 image: "{{ .Values.image.aaiHbaseImage }}:{{ .Values.image.aaiHbaseVersion }}"
kerenj3db4be52017-08-24 11:32:22 +000021 imagePullPolicy: {{ .Values.pullPolicy }}
Mandeep Khinda71439a72017-06-24 11:49:37 -040022 ports:
Mandeep Khindafc068432017-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 Khinda71439a72017-06-24 11:49:37 -040030 readinessProbe:
31 tcpSocket:
Mandeep Khindafc068432017-08-30 14:24:02 +000032 port: 2181
Mandeep Khinda71439a72017-06-24 11:49:37 -040033 initialDelaySeconds: 5
34 periodSeconds: 10
yurync400bf52017-09-13 19:21:03 +030035 volumeMounts:
Munir Ahmadbccac372018-01-30 17:13:19 -050036 - name: hbase-data
37 mountPath: /tmp
yurync400bf52017-09-13 19:21:03 +030038 - name: localtime
39 mountPath: /etc/localtime
40 readOnly: true
41 volumes:
Munir Ahmadbccac372018-01-30 17:13:19 -050042 - name: hbase-data
43 hostPath:
44 path: /dockerdata-nfs/onap/aai/hbase
yurync400bf52017-09-13 19:21:03 +030045 - name: localtime
46 hostPath:
47 path: /etc/localtime
Borislav Glozmanfe6dd562017-07-24 10:45:28 +030048 imagePullSecrets:
Mandeep Khindaa71542f2017-08-25 03:31:17 +000049 - name: "{{ .Values.nsPrefix }}-docker-registry-key"
Munir Ahmadbccac372018-01-30 17:13:19 -050050#{{ end }}