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