Containers time zone sync
[oom.git] / kubernetes / aai / templates / hbase-deployment.yaml
1 apiVersion: extensions/v1beta1
2 kind: Deployment
3 metadata:
4   name: hbase
5   namespace: "{{ .Values.nsPrefix }}-aai"
6 spec:
7   selector:
8     matchLabels:
9       app: hbase
10   template:
11     metadata:
12       labels:
13         app: hbase
14       name: hbase
15     spec:
16       hostname: hbase
17       containers:
18       - name: hbase
19         image: "{{ .Values.image.aaiHbaseImage }}:{{ .Values.image.aaiHbaseVersion }}"
20         imagePullPolicy: {{ .Values.pullPolicy }}
21         ports:
22         - containerPort: 2181
23         - containerPort: 8080
24         - containerPort: 8085
25         - containerPort: 9090
26         - containerPort: 16000
27         - containerPort: 16010
28         - containerPort: 16201
29         readinessProbe:
30           tcpSocket:
31             port: 2181
32           initialDelaySeconds: 5
33           periodSeconds: 10
34         volumeMounts:
35         - name: localtime
36           mountPath: /etc/localtime
37           readOnly: true
38       volumes:
39       - name: localtime
40         hostPath:
41           path: /etc/localtime
42       imagePullSecrets:
43       - name: "{{ .Values.nsPrefix }}-docker-registry-key"