Replies: 3 comments
-
Hey @ss85705 I didnt see this last week apologies. I added some details to your other question #2133 But I am just wondering what events are you actually getting from your k8s cluster? What do you get when you run kubectl get events ? And if the pod is running what do you get from the logs? Thanks, |
Beta Was this translation helpful? Give feedback.
-
@ss85705 config looks correct. I was able to test it. Just would like to clarify if DEVSASL1 is the clusteridentification at your side, DEVSASL must be your clustername ? In my situation below is my cluster config, TSTSASL is the clustername without any spaces or _ or any. Pls make sure, the clustername in UI has no spaces or _ and TSTSASL5_KAFKASASL_JAASCONFIG_PLAIN="org.apache.kafka.common.security.plain.PlainLoginModule required username='xxx' password='xxx';" has been configured. The clusteridentification has been copied from UI. |
Beta Was this translation helpful? Give feedback.
-
I would also like to add the following deployment.yaml example This I tested using minikube so I had to create a persistence volume locally and also mount that volume to minikube. to mount the local volume to minikube use the following command Add your klaw-application.properties and cluster-application.properties to /tmp/data as well as any certificates and key & trust stores you have, Then apply your deployment
with minikube you can find the url to access klaw with one command And to get your cluster api url so you can update the settings for communication |
Beta Was this translation helpful? Give feedback.
-
I am trying to connect SASL enabled cluster through KLAW and for that i added the below config in kubernetes deployment file.
.......
app: klaw-cluster-api
spec:
containers:
- name: klaw-cluster-api
image: aivenoy/klaw-cluster-api:latest
env:
- name: KLAW_CLUSTERAPI_ACCESS_BASE64_SECRET
value: "ifwoirfwjnfjwknfjkwnfkwjenkwnflnlnflkenfoiewnfoiwenfoewnf==fcfwcds"
- name: DEVSASL1_KAFKASASL_JAASCONFIG_PLAIN
value: org.apache.kafka.common.security.plain.PlainLoginModule required username='xxxxx' password='xxxxxx'
volumeMounts:
- name: klaw-data
mountPath: /klaw
volumes:
.......
Do you think if this config looks OK.
Can you please help me with kubernetes file reference for the same.
Beta Was this translation helpful? Give feedback.
All reactions