aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorJun (Nicolas) Hu <jh245g@att.com>2018-03-21 15:19:29 -0400
committerAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2018-03-24 12:04:57 +0000
commit827152b9f766598b6ceb3f8846c8c30f77ebfe15 (patch)
tree7fcf459524610598b76220a4ec5c87b617c8fda9 /kubernetes
parente827ca05b6efa7cdcc60c4b3eba5ebfa9546bd08 (diff)
expose nodeport for logstash 5044
Issue-ID: OOM-819 Open the 5044 port on log/logstash as a nodeport for external log producers outside of the kubernetes cluster https://wiki.onap.org/display/DW/LOG+Meeting+Minutes+2018-03-20 Q: on logstash port - see all-services.yaml in log pod - 5044 need to open officially on 30255 or in dev via adding (Logstash not externally available - no nodeport) nodePort: {{ .Values.nodePortPrefix }}55 We already expose elasticsearch and kibana - just need to expose logstash https://git.onap.org/oom/tree/kubernetes/log/templates/all-services.yaml Change-Id: I703dd21b4c34fb1fcbfcd5e9a342f9d03412b6b8 Signed-off-by: Nicolas Hu <jh245g@att.com>
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/log/templates/all-services.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/log/templates/all-services.yaml b/kubernetes/log/templates/all-services.yaml
index a22a1fed11..389e7e4caf 100644
--- a/kubernetes/log/templates/all-services.yaml
+++ b/kubernetes/log/templates/all-services.yaml
@@ -74,8 +74,10 @@ spec:
- name: transport
port: 5044
targetPort: 5044
+ nodePort: {{ .Values.nodePortPrefix }}55
selector:
app: logstash
+ type: NodePort
#{{ end }}
#{{ if not .Values.disableLogKibana }}
---