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
204 stars 57 forks source link

Fix Bridge To Kubernetes to work in Disconnected Environments #637

Open johncbaur opened 3 months ago

johncbaur commented 3 months ago

Describe the bug I am trying to get Bridge To Kubernetes to work on an isolated network. I manually transferred the required docker images into my k3s cluster but the restoration pod always fails with ErrImagePull. I believe the issue is caused because RemoteRestoreJobDeployer.cs, _GetJobSpec method is configuring the imagePullPolicy: Always. If this was configured to IfNotPresent I think the pod might start or at least I would make it further.

Mention the platform you are using I am using Visual Studio 2022

To Reproduce Steps to reproduce the behavior: Try to use Bridge To Kubernetes on an isolated network without an internet connection.

Expected behavior I would like the imagePullPolicy for any required pod set to IfNotPresent

Desktop (please complete the following information):