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
200 stars 55 forks source link

Routing Isolation #627

Open IQHT-DGH opened 2 months ago

IQHT-DGH commented 2 months ago

Describe the bug When using bridge to kubernetes with the enable routing isolation, upon running my code in Visual Studio I am presented with an error modal saying that is unable to connect to the cluster on most occasions. If this doesn't happen then I can see in my cluster that it has started to try and create my isolated container but gets caught in a CrashLoopBackoff for some unknown reason.

I'm wondering whether there is something I need to do from a configuration perspective for isolation, as if I attempt the same process with isolation uncheck it works perfectly, but of course it disrupts other members of the team whilst I'm debugging.

Mention the platform you are using Windows 11, Visual Studio 2022 17.9.6

To Reproduce Steps to reproduce the behavior:

  1. Check routing isoltation in bridge to kubernetes properties config in my solution
  2. Run solution

Expected behavior Expecting an isolated debugging session to be created,