Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 1 | apiVersion: extensions/v1beta1 |
| 2 | kind: Deployment |
| 3 | metadata: |
| 4 | name: zookeeper |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame^] | 5 | namespace: "{{ .Values.nsPrefix }}-message-router" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 6 | spec: |
| 7 | selector: |
| 8 | matchLabels: |
| 9 | app: zookeeper |
| 10 | template: |
| 11 | metadata: |
| 12 | labels: |
| 13 | app: zookeeper |
| 14 | name: zookeeper |
| 15 | spec: |
| 16 | containers: |
Mandeep Khinda | deab10d | 2017-08-24 23:50:10 +0000 | [diff] [blame] | 17 | - image: {{ .Values.image.zookeeper }} |
| 18 | imagePullPolicy: {{ .Values.pullPolicy }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 19 | 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 Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame^] | 34 | path: /dockerdata-nfs/{{ .Values.nsPrefix }}/message-router/dcae-startup-vm-message-router/docker_files/data-zookeeper |
Borislav Glozman | 5197e2e | 2017-07-24 10:45:28 +0300 | [diff] [blame] | 35 | imagePullSecrets: |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame^] | 36 | - name: "{{ .Values.nsPrefix }}-docker-registry-key" |