blob: a36d5061f2138ae55fd518865432bea75c37d092 [file] [log] [blame]
Mike Elliott586f03b2017-09-08 12:46:15 -04001apiVersion: extensions/v1beta1
2kind: Deployment
3metadata:
4 name: dcae-collector-dmaapbc
5 namespace: "{{ .Values.nsPrefix }}-dcae"
6spec:
7 selector:
8 matchLabels:
9 app: dcae-collector-dmaapbc
10 template:
11 metadata:
12 labels:
13 app: dcae-collector-dmaapbc
14 name: dcae-collector-dmaapbc
15 spec:
16 containers:
17 - image: {{ .Values.image.dmaapbc }}
18 imagePullPolicy: {{ .Values.pullPolicy }}
19 name: dcae-collector-dmaapbc
20 ports:
21 - containerPort: 18080
22 - containerPort: 18443
23 env:
24# - name: KAFKA_ZOOKEEPER_CONNECT
25# value: "zookeeper:2181"
26# command:
27# - start-kafka.sh
28 volumeMounts:
29 - mountPath: /opt/app/config
30 name: dcae-collector-dmaapbc-config
31 restartPolicy: Always
32 volumes:
33 - name: dcae-collector-dmaapbc-config
34 hostPath:
35 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/dcae/dmaapbc/config
36 imagePullSecrets:
37 - name: "{{ .Values.nsPrefix }}-docker-registry-key"