Bridge to Kubernetes
This extension requires Visual Studio 2019 16.7 or later.
With Bridge to Kubernetes, the only thing you need to run and debug on your development machine is the microservice you're working on and your preferred dev tools.
Bridge to Kubernetes extends the Kubernetes perimeter to your development computer allowing you to write, test, and debug microservice code while connected to your Kubernetes cluster with the rest of your application or services. With this workflow, there is no need for extra assets, such as a Dockerfile or Kubernetes manifests. You can simply run your code natively on your development workstation while connected to the Kubernetes cluster, allowing you to test your code changes in the context of the larger application.
Simplifying Microservice Development
Eliminate the need to manually source, configure and compile external dependencies on your development computer.
Run your usual debug profile with the added cluster configuration. You can debug your code as you normally would while taking advantage of the speed and flexibility of local debugging.
Developing and Testing End-to-End
Test end-to-end during development time. Select an existing service in the cluster to route to your development machine where an instance of that service is running locally. Request initiated through the frontend of the application running in Kubernetes will route between services running in the cluster until the service you specified to redirect is called.
Getting Started Resources
Data and telemetry
Bridge to Kubernetes collects usage data and sends it to Microsoft to help improve our products and services. Read our privacy statement to learn more.
- Updated Bridge to Kubernetes to latest CLI version, refer here for release notes.
- Updated Bridge to Kubernetes to latest CLI version
- Updated Bridge to Kubernetes to latest CLI version with various features and bug fixes.
- Updated Bridge to Kubernetes manager with various bug fixes
- Updated the Bridge to Kubernetes manager with various bug fixes
- Updated launch profile setting for enabling environment variable based service configuration
- Updated the Bridge to Kubernetes connection manager with improved support for gRPC and JSON serialization changes
- Updated the Bridge to Kubernetes connection manager to latest release
- Add support for liveness/readiness probes
- Support for debugging services backed by stateful sets
- Various bug fixes
- If your cluster hosts multiple headless services, you might encounter connection issues with Bridge to Kubernetes.
- Fixed an issue that could cause an error parsing available routing endpoints from a Kubernetes cluster
- Updated the routing endpoint field to allow a user to manually specify an endpoint URL even if there was an error retrieving the list of endpoints from a cluster
- Fixed an issue where a task retrieving resources from the cluster could become blocked if too many resources were returned
- General bug fixes to improve the connection process
- Fixed an issue where the error "No process is associated with this object" could be reported during service connection
- Fixed an issue that could cause a connection to hang if the target Kubernetes namespace has a large number of services
- Fix for an intermittent issue starting the EndpointManager service during cluster connection
- Fix for an error listing ingress/endpoint urls under certain cluster configurations
- Support for HTTPS routing endpoints
- Fixed a bug that could cause issues initializing a debugging session with routing isolation support
- Ensured the cluster configuration dialog doesn't extend behind the limits of the screen for lower resolution displays
- Support for using Bridge to Kubernetes with clusters configured in your local kube config
- Added support for Azure sovereign clouds
- Fixed a bug that could cause errors for users with spaces in their home directory path
- Fixed a bug that could result in an error when debugging immediately after a build completed
- Fixed a bug related to how ASPNETCORE_URLS are handled in the launch profile
- Fixed an occasional file in use error when establishing a connection to the remote cluster
- Updated branding and extension name to Bridge to Kubernetes
- Improved clarity of error messages
- Improved performance when querying cluster resources
- Fixed a bug where the connection couldn't stop services with conflicting port reservations if there was a space in the name
- Fixed a bug that could prevent a user from re-connecting if they started a new connection session immediately after disconnecting for their previous session
- Added support for service routing isolation to allow developers to debug a service without interfering with the existing services running in their cluster
- Fixed a bug that prevented the extension from working in Visual Studio 16.8 Preview 2
- Kubernetes resources are sorted alphabetically in selection dropdowns
- Fixed a bug where the VS toolbar disconnect button wouldn't actually disconnect from the cluster
- Fixed a bug that could prevent a user's Azure subscriptions from loading if one or more account tenants is inaccessible