blob: c261504d226cf8aa5700ffe7dd6e310f7a2c6bd6 [file] [log] [blame]
Mandeep Khindad6ea9872017-06-24 11:49:37 -04001apiVersion: extensions/v1beta1
2kind: Deployment
3metadata:
4 name: hbase
Mandeep Khinda0e8f8892017-08-25 03:31:17 +00005 namespace: "{{ .Values.nsPrefix }}-aai"
Mandeep Khindad6ea9872017-06-24 11:49:37 -04006spec:
7 selector:
8 matchLabels:
9 app: hbase
10 template:
11 metadata:
12 labels:
13 app: hbase
14 name: hbase
15 spec:
16 hostname: hbase
Mandeep Khindad6ea9872017-06-24 11:49:37 -040017 containers:
18 - name: hbase
Mandeep Khinda4b881972017-08-30 14:24:02 +000019 image: "{{ .Values.image.aaiHbaseImage }}:{{ .Values.image.aaiHbaseVersion }}"
kerenjfdc17622017-08-24 11:32:22 +000020 imagePullPolicy: {{ .Values.pullPolicy }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040021 ports:
Mandeep Khinda4b881972017-08-30 14:24:02 +000022 - containerPort: 2181
23 - containerPort: 8080
24 - containerPort: 8085
25 - containerPort: 9090
26 - containerPort: 16000
27 - containerPort: 16010
28 - containerPort: 16201
Mandeep Khindad6ea9872017-06-24 11:49:37 -040029 readinessProbe:
30 tcpSocket:
Mandeep Khinda4b881972017-08-30 14:24:02 +000031 port: 2181
Mandeep Khindad6ea9872017-06-24 11:49:37 -040032 initialDelaySeconds: 5
33 periodSeconds: 10
yuryn8b3bc5a2017-09-13 19:21:03 +030034 volumeMounts:
35 - name: localtime
36 mountPath: /etc/localtime
37 readOnly: true
38 volumes:
39 - name: localtime
40 hostPath:
41 path: /etc/localtime
Borislav Glozman5197e2e2017-07-24 10:45:28 +030042 imagePullSecrets:
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000043 - name: "{{ .Values.nsPrefix }}-docker-registry-key"