grepplabs / kafka-proxy

Proxy connections to Kafka cluster. Connect through SOCKS Proxy, HTTP Proxy or to cluster running in Kubernetes.
Apache License 2.0
468 stars 81 forks source link

Pod startup issue after version 0.3.3-all #141

Closed dnltech2020 closed 8 months ago

dnltech2020 commented 9 months ago

I have been using the Kafka-proxy project for some time, but since all releases after 0.3.3-all, I’m getting the following error in the pod logs

The pod does show as Running

Error: “@message”:”listen tcp 0.0.0.0:443: bind: permission denied”

when I revert back to 0.3.3-all then everything works fine

I tried release versions 0.3.4-all, 0.3.5-all and 0.3.6-all. With the same issue on all images.

I have tried editing the security context for the pod to all

securityContext: readOnlyRootFilesystem: true runAsNonRoot: true runAsUser: 1000 cababilities: drop:

Please let me know what changed after version 0.3.3-all?

Thanks

dnltech2020 commented 9 months ago

If I set the listen IP to 0.0.0.0:8080 then the pod works, but I can’t get to it, is it possible on the image that you can allow the NET_BIND_SERVICE for lower port numbers, below 1024? Thanks I think that would solve the issue

everesio commented 8 months ago

@dnltech2020 thank you for reporting. the fix was merged and new version should be released soon.

everesio commented 8 months ago

Fixed in v0.3.7