From 5f27972bb315877148a9782a4e572e8d8a5d00a1 Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Wed, 25 Oct 2017 10:36:39 +0200 Subject: [PATCH] Adds port names as documentation in kafka manifest --- 50kafka.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/50kafka.yml b/50kafka.yml index 2f503324..34f68df8 100644 --- a/50kafka.yml +++ b/50kafka.yml @@ -40,8 +40,10 @@ spec: - name: KAFKA_LOG4J_OPTS value: -Dlog4j.configuration=file:/etc/kafka/log4j.properties ports: - - containerPort: 9092 - - containerPort: 9094 + - name: inside + containerPort: 9092 + - name: outside + containerPort: 9094 command: - ./bin/kafka-server-start.sh - /etc/kafka/server.properties