Mike Elliott | 586f03b | 2017-09-08 12:46:15 -0400 | [diff] [blame] | 1 | apiVersion: extensions/v1beta1 |
| 2 | kind: Deployment |
| 3 | metadata: |
| 4 | name: zookeeper |
| 5 | namespace: "{{ .Values.nsPrefix }}-dcae" |
| 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: |
| 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" |