blob: 8d03c9d9855bc91eddb1ea3751d05404c6867c07 [file] [log] [blame]
Mike Elliott586f03b2017-09-08 12:46:15 -04001apiVersion: extensions/v1beta1
2kind: Deployment
3metadata:
4 name: zookeeper
5 namespace: "{{ .Values.nsPrefix }}-dcae"
6spec:
7 selector:
8 matchLabels:
9 app: zookeeper
10 template:
11 metadata:
12 labels:
13 app: zookeeper
14 name: zookeeper
15 spec:
16 containers:
17 - image: {{ .Values.image.zookeeper }}
18 imagePullPolicy: {{ .Values.pullPolicy }}
19 name: zookeeper
20 ports:
21 - containerPort: 2181
22 volumeMounts:
23 - mountPath: /opt/zookeeper-3.4.9/data
24 name: zookeeper-data
25 restartPolicy: Always
26 volumes:
27 - name: zookeeper-data
28 hostPath:
29 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/dcae/message-router/dcae-startup-vm-message-router/docker_files/data-zookeeper
30 imagePullSecrets:
31 - name: "{{ .Values.nsPrefix }}-docker-registry-key"