diff options
author | BorislavG <Borislav.Glozman@amdocs.com> | 2018-03-25 18:12:38 +0300 |
---|---|---|
committer | BorislavG <Borislav.Glozman@amdocs.com> | 2018-03-27 11:42:25 +0300 |
commit | 5f3b6196c84e31c76c5583b25549d50400fe63d3 (patch) | |
tree | 957f7800a25259563c5f6a3c9695114c7af77249 /kubernetes/sdc | |
parent | 4e4b97524ca8731bbb2b3080ca85b139f0096ce5 (diff) |
Add standardized helm chart for log
Change-Id: Ic9f0eb567716224893955d9379e9ed9308b9ea79
Issue-ID: OOM-740
Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
Diffstat (limited to 'kubernetes/sdc')
-rw-r--r-- | kubernetes/sdc/resources/config/log/filebeat/filebeat.yml | 2 | ||||
-rw-r--r-- | kubernetes/sdc/values.yaml | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/kubernetes/sdc/resources/config/log/filebeat/filebeat.yml b/kubernetes/sdc/resources/config/log/filebeat/filebeat.yml index 89c6932577..b0d4690754 100644 --- a/kubernetes/sdc/resources/config/log/filebeat/filebeat.yml +++ b/kubernetes/sdc/resources/config/log/filebeat/filebeat.yml @@ -21,7 +21,7 @@ output.logstash: #List of logstash server ip addresses with port number. #But, in our case, this will be the loadbalancer IP address. #For the below property to work the loadbalancer or logstash should expose 5044 port to listen the filebeat events or port in the property should be changed appropriately. - hosts: ["logstash.{{.Values.nsPrefix}}:5044"] + hosts: ["{{.Values.config.logstashServiceName}}.{{.Release.Namespace}}:{{.Values.config.logstashPort}}"] #If enable will do load balancing among availabe Logstash, automatically. loadbalance: true diff --git a/kubernetes/sdc/values.yaml b/kubernetes/sdc/values.yaml index 13f41aa0ea..40b3ec3f23 100644 --- a/kubernetes/sdc/values.yaml +++ b/kubernetes/sdc/values.yaml @@ -25,3 +25,6 @@ image: sdcBackend: nexus3.onap.org:10001/openecomp/sdc-backend:v1.1.0 filebeat: docker.elastic.co/beats/filebeat:5.5.0 ubuntuInit: oomk8s/ubuntu-init:1.0.0 +config: + logstashServiceName: log-ls + logstashPort: 5044 |