aai K8S-Helm Parameterization
[oom.git] / kubernetes / aai / templates / hbase-deployment.yaml
1 apiVersion: extensions/v1beta1
2 kind: Deployment
3 metadata:
4   name: hbase
5   namespace: {{ .Values.NS }}
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       volumes:
18         - name: hbase-opt-data
19           hostPath:
20             path: /dockerdata-nfs/onap/aai/hbase/opt/data
21       containers:
22       - name: hbase
23         image: {{ .Values.image.aaiHbase }}
24         imagePullPolicy: {{ .Values.pullPolicy }}
25         volumeMounts:
26         - mountPath: /opt/data/
27           name: hbase-opt-data
28         ports:
29         - containerPort: 8020
30         readinessProbe:
31           tcpSocket:
32             port: 8020
33           initialDelaySeconds: 5
34           periodSeconds: 10
35       imagePullSecrets:
36       - name: onap-docker-registry-key