blob: 5b46dc02e377732e4e649323ab313fb5bed00478 [file] [log] [blame]
Mandeep Khindad6ea9872017-06-24 11:49:37 -04001apiVersion: extensions/v1beta1
2kind: Deployment
3metadata:
4 name: zookeeper
Mandeep Khinda0e8f8892017-08-25 03:31:17 +00005 namespace: "{{ .Values.nsPrefix }}-message-router"
Mandeep Khindad6ea9872017-06-24 11:49:37 -04006spec:
7 selector:
8 matchLabels:
9 app: zookeeper
10 template:
11 metadata:
12 labels:
13 app: zookeeper
14 name: zookeeper
15 spec:
16 containers:
Mandeep Khindadeab10d2017-08-24 23:50:10 +000017 - image: {{ .Values.image.zookeeper }}
18 imagePullPolicy: {{ .Values.pullPolicy }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040019 name: zookeeper
20 ports:
21 - containerPort: 2181
22 readinessProbe:
23 tcpSocket:
24 port: 2181
25 initialDelaySeconds: 5
26 periodSeconds: 10
27 volumeMounts:
28 - mountPath: /opt/zookeeper-3.4.9/data
29 name: zookeeper-data
30 restartPolicy: Always
31 volumes:
32 - name: zookeeper-data
33 hostPath:
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000034 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/message-router/dcae-startup-vm-message-router/docker_files/data-zookeeper
Borislav Glozman5197e2e2017-07-24 10:45:28 +030035 imagePullSecrets:
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000036 - name: "{{ .Values.nsPrefix }}-docker-registry-key"