From 7a892478f3b6dfdd1cb25bb8c44c44c858088b1e Mon Sep 17 00:00:00 2001 From: "Leigh,Phillip (pl876u)" Date: Fri, 7 Dec 2018 20:11:14 -0500 Subject: BugFix:Unable to log in ND & NDCB Enable loggers in network-discovery-micro-service and network-discovery-context-builder Issue-ID: LOG-879 Issue-ID: SDNC-541 Change-Id: I54fd751d9af1e83c73e7e2d294fd3ea7ea950c27 Signed-off-by: Leigh, Phillip (pl876u) --- .../templates/deployment.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'kubernetes/pomba/charts/pomba-networkdiscoveryctxbuilder/templates') diff --git a/kubernetes/pomba/charts/pomba-networkdiscoveryctxbuilder/templates/deployment.yaml b/kubernetes/pomba/charts/pomba-networkdiscoveryctxbuilder/templates/deployment.yaml index 462ee68563..ebb1d3783e 100644 --- a/kubernetes/pomba/charts/pomba-networkdiscoveryctxbuilder/templates/deployment.yaml +++ b/kubernetes/pomba/charts/pomba-networkdiscoveryctxbuilder/templates/deployment.yaml @@ -56,7 +56,8 @@ spec: name: localtime readOnly: true - name: {{ include "common.fullname" . }}-logs - mountPath: /var/log/onap + mountPath: /opt/app/logs + readOnly: false - mountPath: /opt/app/config/logback.xml name: {{ include "common.fullname" . }}-log-conf subPath: logback.xml @@ -64,6 +65,9 @@ spec: name: {{ include "common.fullname" . }}-config readOnly: true subPath: application.properties + - name: {{ include "common.fullname" . }}-logs-eelf + mountPath: /opt/app/logs/EELF + readOnly: false resources: {{ include "common.resources" . | indent 12 }} @@ -87,7 +91,7 @@ spec: - name: {{ include "common.fullname" . }}-data-filebeat mountPath: /usr/share/filebeat/data - name: {{ include "common.fullname" . }}-logs - mountPath: /var/log/onap + mountPath: /opt/app/logs volumes: - name: localtime @@ -106,7 +110,7 @@ spec: emptyDir: {} - name: {{ include "common.fullname" . }}-logs emptyDir: {} - - + - name: {{ include "common.fullname" . }}-logs-eelf + emptyDir: {} imagePullSecrets: - name: "{{ include "common.namespace" . }}-docker-registry-key" -- cgit 1.2.3-korg