Open mbecker opened 3 years ago
https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/ you can try this:
/bin/sh -c >
until curl -s -f http://127.0.0.1:15020/healthz/ready; do echo
"Waiting for istio-proxy" && sleep 1; done
sleep 2 && /app/app
I have the same issue, it works with debian-slim but not with scratch.
This is directly affiliated with this: https://github.com/confluentinc/confluent-kafka-go/issues/644
Description
I'm running a Kafka cluster on Kubernetes in namespace "kafka". The connection from ksqlDB (docker) running as a pod in the same namespace and local Kafka go clients works. So connection to the Kafka cluster / bootstrap is working from external as well from internal clients.
But running the confluent-kafka-go either locally in a Docker container or as pod on Kubernetes in the same namespace the connections doesn't work. I've tried both the internally Kubernetes service or the external Ingress host.
The error is as follows:
The Docker image is built with the following Dockerfile https://github.com/confluentinc/confluent-kafka-go/issues/461#issuecomment-758654252
How to reproduce
Use the Dockerfile linked above and try to connect to a Kafka broker.
Dockerfile as reference
Checklist
Please provide the following information:
LibraryVersion()
): golang:1.14.15-stretchConfigMap{...}
"debug": ".."
as necessary)Any help or tipps would be highl appreciated. Thanks guys for the great work and cheers.