aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <nealch@amdocs.com>2018-04-04 17:21:02 +0000
committerMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-04-11 01:46:27 +0000
commit4565d0ae86147d66f3c6e80bc5ca17f215029adc (patch)
tree6a98e0232bfac34a938a382eb35bb9bba5679ff6
parent59c67ecb895ecab09c994d8966394e6e36fff74b (diff)
logstash pipeline fails to start
Issue-ID: OOM-848 Change-Id: I87bcd3165025ccf9c526c48947f91fcea1feab1a Signed-off-by: nealch <nealch@amdocs.com>
-rw-r--r--kubernetes/log/charts/log-logstash/templates/deployment.yaml16
1 files changed, 9 insertions, 7 deletions
diff --git a/kubernetes/log/charts/log-logstash/templates/deployment.yaml b/kubernetes/log/charts/log-logstash/templates/deployment.yaml
index 0b07b609b1..7735c82616 100644
--- a/kubernetes/log/charts/log-logstash/templates/deployment.yaml
+++ b/kubernetes/log/charts/log-logstash/templates/deployment.yaml
@@ -73,12 +73,10 @@ spec:
- mountPath: /etc/localtime
name: localtime
readOnly: true
- - mountPath: /usr/share/logstash/config/logstash.yml
- name: {{ include "common.fullname" . }}
- subPath: logstash.yml
- - mountPath: /usr/share/logstash/pipeline/onap-pipeline.conf
- name: {{ include "common.fullname" . }}
- subPath: onap-pipeline.conf
+ - mountPath: /usr/share/logstash/config/
+ name: {{ include "common.fullname" . }}-config
+ - mountPath: /usr/share/logstash/pipeline/
+ name: {{ include "common.fullname" . }}-pipeline
resources:
{{ toYaml .Values.resources | indent 12 }}
{{- if .Values.nodeSelector }}
@@ -93,12 +91,16 @@ spec:
- name: localtime
hostPath:
path: /etc/localtime
- - name: {{ include "common.fullname" . }}
+ - name: {{ include "common.fullname" . }}-config
configMap:
name: {{ include "common.fullname" . }}
items:
- key: logstash.yml
path: logstash.yml
+ - name: {{ include "common.fullname" . }}-pipeline
+ configMap:
+ name: {{ include "common.fullname" . }}
+ items:
- key: onap-pipeline.conf
path: onap-pipeline.conf
imagePullSecrets: