blob: fd8e10cc5a36682016c3289e47e993e4392e735f [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:
36 - name: localtime
37 mountPath: /etc/localtime
38 readOnly: true
39 volumes:
40 - name: localtime
41 hostPath:
42 path: /etc/localtime
Borislav Glozman5197e2e2017-07-24 10:45:28 +030043 imagePullSecrets:
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000044 - name: "{{ .Values.nsPrefix }}-docker-registry-key"
yurynfcef9942017-10-26 17:10:50 +030045#{{ end }}