summaryrefslogtreecommitdiffstats
path: root/kubernetes/pomba/charts/pomba-data-router/templates
diff options
context:
space:
mode:
authorBorislav Glozman <Borislav.Glozman@amdocs.com>2019-03-14 11:42:42 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-14 11:42:42 +0000
commit603d7e52ca881df2baccdc956c999d537a9d5700 (patch)
tree9cef295b6f572e658d7ea850659b9d8b92dc06ec /kubernetes/pomba/charts/pomba-data-router/templates
parente7b54f7aadaa2b4ed550a2418bda11ccbfecf2f0 (diff)
parent76d4a8a72e72c46cca38f2f41b48c07a246c5341 (diff)
Merge "Add missing filebeat sidecars for Pomba"
Diffstat (limited to 'kubernetes/pomba/charts/pomba-data-router/templates')
-rw-r--r--kubernetes/pomba/charts/pomba-data-router/templates/deployment.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/kubernetes/pomba/charts/pomba-data-router/templates/deployment.yaml b/kubernetes/pomba/charts/pomba-data-router/templates/deployment.yaml
index cb5c210da9..71f3ac2d93 100644
--- a/kubernetes/pomba/charts/pomba-data-router/templates/deployment.yaml
+++ b/kubernetes/pomba/charts/pomba-data-router/templates/deployment.yaml
@@ -127,6 +127,20 @@ spec:
port: {{ .Values.service.internalPort }}
initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.readiness.periodSeconds }}
+
+ # Filebeat sidecar container
+ - name: {{ include "common.name" . }}-filebeat-onap
+ image: "{{ .Values.global.loggingRepository }}/{{ .Values.global.loggingImage }}"
+ imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
+ volumeMounts:
+ - name: {{ include "common.fullname" . }}-filebeat-conf
+ mountPath: /usr/share/filebeat/filebeat.yml
+ subPath: filebeat.yml
+ - name: {{ include "common.fullname" . }}-data-filebeat
+ mountPath: /usr/share/filebeat/data
+ - name: {{ include "common.fullname" . }}-logs
+ mountPath: /opt/app/logs
+
volumes:
- name: localtime
hostPath:
@@ -142,6 +156,11 @@ spec:
path: data-router.properties
- key: schemaIngest.properties
path: schemaIngest.properties
+ - name: {{ include "common.fullname" . }}-filebeat-conf
+ configMap:
+ name: {{ .Release.Name }}-pomba-filebeat-configmap
+ - name: {{ include "common.fullname" . }}-data-filebeat
+ emptyDir: {}
- name: {{ include "common.fullname" . }}-dynamic-route
configMap:
name: {{ include "common.fullname" . }}-dynamic