Open SamD opened 5 years ago
Do you need the absolute path? I think this should work
kubectl -n testns exec testclient -- kafka-topics --zookeeper testns-kafka-zookeeper:2181 --list
just kafka-topics, not kafka-topics.sh or any more
If the script is on the containers PATH and executable, extensions don't matter
I installed Kafka via Helm after which the status suggested to connect
Unfortunately the command produced a no file/directory error for kafka, connecting to the pod shows the
/opt
directory empty.