VOL-1407: Perform end-to-end integration testing in the K8S environment
- Added support for testing in a single-node Kubernetes environment
(affinity router not required)
- Added a preliminary README file (needs more work)
Change-Id: Ib617e1f6b6702eeeaa88a7ee9a7c6a82da8dd615
diff --git a/k8s/single-node/kafka.yml b/k8s/single-node/kafka.yml
index 4604676..a8a8d71 100644
--- a/k8s/single-node/kafka.yml
+++ b/k8s/single-node/kafka.yml
@@ -46,13 +46,13 @@
terminationGracePeriodSeconds: 10
containers:
- name: kafka
- image: wurstmeister/kafka:1.0.0
+ image: wurstmeister/kafka:2.11-2.0.1
ports:
- containerPort: 9092
env:
- - name: KAFKA_ADVERTISED_PORT
- value: "9092"
+ - name: KAFKA_LISTENERS
+ value: PLAINTEXT://:9092
- name: KAFKA_ZOOKEEPER_CONNECT
value: zoo:2181
- - name: KAFKA_HEAP_OPTS
- value: "-Xmx256M -Xms128M"
+ - name: KAFKA_AUTO_CREATE_TOPICS_ENABLE
+ value: "true"