blob: 5b2a98cc89741545e1c110b4a8f875e142ba5fd2 [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:
vaibhav_16deca97d3fd2018-02-14 05:32:10 +00008 replicas: {{ .Values.hbaseReplicas }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -04009 selector:
10 matchLabels:
11 app: hbase
12 template:
13 metadata:
14 labels:
15 app: hbase
16 name: hbase
17 spec:
18 hostname: hbase
Mandeep Khindad6ea9872017-06-24 11:49:37 -040019 containers:
20 - name: hbase
Mandeep Khinda4b881972017-08-30 14:24:02 +000021 image: "{{ .Values.image.aaiHbaseImage }}:{{ .Values.image.aaiHbaseVersion }}"
kerenjfdc17622017-08-24 11:32:22 +000022 imagePullPolicy: {{ .Values.pullPolicy }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040023 ports:
Mandeep Khinda4b881972017-08-30 14:24:02 +000024 - containerPort: 2181
25 - containerPort: 8080
26 - containerPort: 8085
27 - containerPort: 9090
28 - containerPort: 16000
29 - containerPort: 16010
30 - containerPort: 16201
Mandeep Khindad6ea9872017-06-24 11:49:37 -040031 readinessProbe:
32 tcpSocket:
Mandeep Khinda4b881972017-08-30 14:24:02 +000033 port: 2181
Mandeep Khindad6ea9872017-06-24 11:49:37 -040034 initialDelaySeconds: 5
35 periodSeconds: 10
yuryn8b3bc5a2017-09-13 19:21:03 +030036 volumeMounts:
Munir Ahmad05b29cc2018-01-30 17:13:19 -050037 - name: hbase-data
38 mountPath: /tmp
yuryn8b3bc5a2017-09-13 19:21:03 +030039 - name: localtime
40 mountPath: /etc/localtime
41 readOnly: true
42 volumes:
Munir Ahmad05b29cc2018-01-30 17:13:19 -050043 - name: hbase-data
44 hostPath:
Munir Ahmaded77ce32018-02-05 08:40:34 -050045 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/aai/hbase
yuryn8b3bc5a2017-09-13 19:21:03 +030046 - name: localtime
47 hostPath:
48 path: /etc/localtime
Borislav Glozman5197e2e2017-07-24 10:45:28 +030049 imagePullSecrets:
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000050 - name: "{{ .Values.nsPrefix }}-docker-registry-key"
Munir Ahmad05b29cc2018-01-30 17:13:19 -050051#{{ end }}