Azure / Bridge-To-Kubernetes

Bridge To Kubernetes (B2K) is development tool to debug microservices, pods which redirects traffic to your local development machine and vice versa.
https://learn.microsoft.com/en-us/visualstudio/bridge/overview-bridge-to-kubernetes
Other
209 stars 57 forks source link

Jaeger sidecar makes b2k fail #292

Closed BartNetJS closed 1 year ago

BartNetJS commented 1 year ago

When I annotate a deployment with sidecar.jaegertracing.io/inject to add a jaeger sidecar to the pod, b2k stops working with the message Error: Failed to validate the requirements to replicate resources locally: Failed to identify the container to use in pod '.....-5786c96cf8-csq96'. Jaeger agent is working fine and b2k debugging session also without the jaeger agent

hsubramanianaks commented 1 year ago

@BartNetJS Thanks for raising this issue. Can you send all the logs from location $HOME/tmp/Bridge To Kubernetes ? Jaeger is not supported side car proxy, I think making a simple code change here might fix your issue. I will look further into once you send me the logs.

BartNetJS commented 1 year ago

@hsubramanianaks hereby the log. Are you gone make that change? Or will I contribute? vscode-logs.zip

hsubramanianaks commented 1 year ago

@BartNetJS Thanks for the logs, looking at the logs yep as I suspected it needs code changes to support Jeager. We welcome contributions, if you have the time to make the changes it will be better. Thank you. Please let me know.

hsubramanianaks commented 1 year ago

This is released to production, please feel free to test and close this issue. Thank you for your contribution. @BartNetJS