There is a defect in this documentation.
In the beginning of third step, the command kubectl run --rm utils -it --image arunvelsriram/utils bash should be execute first, and following command kubectl run --rm utils -it --image arunvelsriram/utils bash .Then execute command kafkacat -L -b <kafka-server>-kafka-brokers:9092.
There is a defect in this documentation.
In the beginning of third step, the command
kubectl run --rm utils -it --image arunvelsriram/utils bashshould be execute first, and following commandkubectl run --rm utils -it --image arunvelsriram/utils bash.Then execute commandkafkacat -L -b <kafka-server>-kafka-brokers:9092.