aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2018-01-31 19:06:42 +0000
committerGerrit Code Review <gerrit@onap.org>2018-01-31 19:06:42 +0000
commit79415fd2d41c9e5394308c70177c23f8f4e1a798 (patch)
tree361a9a0b38bb7f553040b36c901c6fe00c3e9cb4 /kubernetes
parent05b29cc607b6d6a0eac65aae34f41acbf850e920 (diff)
parent229e53773d9e05c426c72bdb1380da6ff1d74ad5 (diff)
Merge "exposing logstash port"
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/log/templates/all-services.yaml15
-rw-r--r--kubernetes/log/templates/logstash-deployment.yaml5
2 files changed, 19 insertions, 1 deletions
diff --git a/kubernetes/log/templates/all-services.yaml b/kubernetes/log/templates/all-services.yaml
index 0885affdcf..e8b6b816da 100644
--- a/kubernetes/log/templates/all-services.yaml
+++ b/kubernetes/log/templates/all-services.yaml
@@ -36,6 +36,21 @@ spec:
apiVersion: v1
kind: Service
metadata:
+ name: logstashinternal
+ namespace: {{ .Values.nsPrefix }}-log
+ labels:
+ app: logstash
+spec:
+ ports:
+ - name: http
+ port: 9600
+ targetPort: 9600
+ selector:
+ app: logstash
+---
+apiVersion: v1
+kind: Service
+metadata:
name: logstash
namespace: {{ .Values.nsPrefix }}-log
labels:
diff --git a/kubernetes/log/templates/logstash-deployment.yaml b/kubernetes/log/templates/logstash-deployment.yaml
index 47c72c8145..f99657a039 100644
--- a/kubernetes/log/templates/logstash-deployment.yaml
+++ b/kubernetes/log/templates/logstash-deployment.yaml
@@ -35,9 +35,12 @@ spec:
- name: logstash
image: {{ .Values.image.logstash }}
ports:
- - containerPort: 5044
+ - containerPort: 5044
name: transport
protocol: TCP
+ - containerPort: 9600
+ name: http
+ protocol: TCP
readinessProbe:
tcpSocket:
port: 5044