summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai
diff options
context:
space:
mode:
authorJerome Doucerain <jerome.doucerain@bell.ca>2018-03-27 11:27:13 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-27 11:27:13 +0000
commitb59128a3e07f472cd2cc0f25e9e4440981db6a09 (patch)
tree8a9dea132b3d864fc9a2a3144b2f5dad75dfe1b0 /kubernetes/aai
parent7faae98a3527e146e9fe0c0979729e4e3687c206 (diff)
parent5f3b6196c84e31c76c5583b25549d50400fe63d3 (diff)
Merge "Add standardized helm chart for log"
Diffstat (limited to 'kubernetes/aai')
-rw-r--r--kubernetes/aai/resources/config/log/filebeat/filebeat.yml2
-rw-r--r--kubernetes/aai/values.yaml4
2 files changed, 5 insertions, 1 deletions
diff --git a/kubernetes/aai/resources/config/log/filebeat/filebeat.yml b/kubernetes/aai/resources/config/log/filebeat/filebeat.yml
index 89c6932577..b0d4690754 100644
--- a/kubernetes/aai/resources/config/log/filebeat/filebeat.yml
+++ b/kubernetes/aai/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/aai/values.yaml b/kubernetes/aai/values.yaml
index e283cb6f2e..eaeaa2e71d 100644
--- a/kubernetes/aai/values.yaml
+++ b/kubernetes/aai/values.yaml
@@ -74,3 +74,7 @@ persistence:
mountPath: /dockerdata-nfs
mountSubPath: aai/data-router/logs
+config:
+ logstashServiceName: log-ls
+ logstashPort: 5044
+