An extremely easy and scalable way to deploy SSL enabled Kafka to Kubernetes
bash ./auto-generate-certificates.sh
*Those files are generated to the newly created 'output' directory
bash ./ingress-create.sh
kubectl apply -f kafka_and_zookeeper.yaml
bash ./client.sh
kubectl --namespace kafka get services -o json kafka-ingress-ingress-nginx-controller | jq -r '.status.loadBalancer.ingress[0].ip'
export INGRESS_IP=REPLACE-WITH-IP-FROM-ABOVE-STEP
kafka-console-producer.sh --producer.config /tmp/output/client.properties --broker-list ${INGRESS_IP}:942,${INGRESS_IP}:941,${INGRESS_IP}:940 --topic test
kafka-console-consumer.sh --consumer.config /tmp/output/client.properties --bootstrap-server ${INGRESS_IP}:942,${INGRESS_IP}:941,${INGRESS_IP}:940 --topic test --from-beginning