cp-helm-charts icon indicating copy to clipboard operation
cp-helm-charts copied to clipboard

SASL_SSL deployment issues

Open manjunath-vuyyuru opened this issue 3 years ago • 1 comments

Hi Team,

I am trying to deploy cp-helm charts using these values.yaml attached. I am able to run the Kafka Brokers on plaintext without any issues.

But I wanted to test with Kafka Broker running on SASL_SSL Communications, Can you please suggest me what changes I need to make on values.yaml

Please share me the steps to create the kafka secrets for using .jks certs for SASL_SSL communications

I have used this command to install Kafka Cluster helm install kafka confluentinc/cp-helm-charts -f values.yaml values.yaml.zip

I am unable to see the Kafka Broker logs- I have tried using all these, But none of the commands are working.. Please suggest me where I am doing wrong Manjunaths-MacBook-Pro:cp-helm-charts manjunath_vs$ kubectl logs -f kafka-cp-kafka Error from server (NotFound): pods "kafka-cp-kafka" not found Manjunaths-MacBook-Pro:cp-helm-charts manjunath_vs$ kubectl logs -f kafka-cp-kafka* Error from server (NotFound): pods "kafka-cp-kafka*" not found Manjunaths-MacBook-Pro:cp-helm-charts manjunath_vs$ kubectl logs -f kafka-cp-kafka-0 error: a container name must be specified for pod kafka-cp-kafka-0, choose one of: [prometheus-jmx-exporter cp-kafka-broker] Manjunaths-MacBook-Pro:cp-helm-charts manjunath_vs$ kubectl logs -f cp-kafka-broker Error from server (NotFound): pods "cp-kafka-broker" not found

manjunath-vuyyuru avatar May 11 '21 16:05 manjunath-vuyyuru

You got close for the logs.

$ kubectl logs -f kafka-cp-kafka-0
error: a container name must be specified for pod kafka-cp-kafka-0, choose one of: [prometheus-jmx-exporter cp-kafka-broker]

Make sure you use -c cp-kafka-broker so you can see the logs of the Kafka broker. The option -c is to show the container logs as there are 2 containers in this pod.

mikelorant avatar Jul 26 '21 04:07 mikelorant