You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I deploy Kafka helm chart https://artifacthub.io/packages/helm/bitnami/kafka/28.3.0 into my k8s cluster with 3 nodes.
I also setup an VIP (10.255.251.9) using keepalived.
To allow external system to connect to the Kafka cluster, I set the loadBalancerIps to the VIP
Name: kafka
Namespace: default
Created on: 2024-11-28 07:47:48 +0000 UTC
Labels: app.kubernetes.io/instance=kafka
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=kafka
app.kubernetes.io/version=3.7.0
helm.sh/chart=kafka-28.3.0
release=kafka
service=kafka
Annotations: meta.helm.sh/release-name: kafka
meta.helm.sh/release-namespace: default
Spec:
PodSelector: app.kubernetes.io/instance=kafka,app.kubernetes.io/name=kafka
Allowing ingress traffic:
To Port: 9092/TCP
To Port: 9094/TCP
To Port: 9093/TCP
To Port: 9095/TCP
From: <any> (traffic not restricted by source)
Allowing egress traffic:
To Port: <any> (traffic allowed to all ports)
To: <any> (traffic not restricted by destination)
Policy Types: Ingress, Egress
javsalgar
changed the title
Kafka helm chart - unable to access externally using VIP
[bitnami/kafka] Kafka helm chart - unable to access externally using VIP
Nov 29, 2024
There's something that is not clear to me. In principle, the use of externalAccess is to have a separate IP address per Kafka pod. However, you are using the same IP for all the pods, which could likely cause a collision inside Kubernetes. Could you try using the externalAccess.autoDiscovery.enabled=true value so you don't have to set the array of LoadBalancerIPs?
Name and Version
bitnami/kafka 28.3.0
What architecture are you using?
amd64
What steps will reproduce the bug?
I deploy Kafka helm chart https://artifacthub.io/packages/helm/bitnami/kafka/28.3.0 into my k8s cluster with 3 nodes.
I also setup an VIP (10.255.251.9) using keepalived.
To allow external system to connect to the Kafka cluster, I set the loadBalancerIps to the VIP
List of kafka pod
List of kafka service
I log into all the kafka pod the check the server.config.
Network Policy
Here is my full config file
Are you using any custom parameters or values?
No response
What is the expected behavior?
I want to connect to kafka cluster from external system through VIP
What do you see instead?
I can connect to kafka cluster using ip node:9095 but cannot connect to kafka cluster using vip:9095 (10.255.251.9:9095)
Additional information
No response
The text was updated successfully, but these errors were encountered: