Microsoft Launches Bridge to Kubernetes
Last week, Microsoft has launched its Bridge to Kubernetes service, a Visual Studio extension that enables developers to write, test, and debug microservice code locally while consuming dependencies from a Kubernetes environment.
The Bridge to Kubernetes is an iterative development tool in Visual Studio and VS Code, previously known as Local Process with Kubernetes
It enables developers to write, test and debug microservice code on their development machines while consuming dependencies and inheriting configurations from a Kubernetes environment.
Microservice applications are made up of several services calling each other and each one has its own configuration and dependencies. This makes developing and managing microservices, time-consuming and complicated. Running the application locally may help, but it will add more complexity.
Microsoft Bridge to Kubernetes solves this problem by connecting the developer's development workstation to their Kubernetes cluster, which eliminates the need to manually source, configure and compile external dependencies on the development workstation.
Instead of redeploying a new cluster, Microsoft Bridge to Kubernetes allows developers to test and develop services in the context of the full application quickly and without creating any additional Docker or Kubernetes configuration.
Bridge to Kubernetes is initially available in VS Code and will be available soon in Visual Studio, but it supports all Kubernetes.
According to Visual Studio documentation, when Bridge to Kubernetes establishes a connection to your cluster, it:
- Prompts you to configure the service to replace on your cluster, the port on your development computer to use for your code, and the launch task for your code as a one-time action.
- Replaces the container in the pod on the cluster with a remote agent container that redirects traffic to your development computer.
- Runs kubectl port-forward on your development computer to forward traffic from your development computer to the remote agent running in your cluster.
- Collects environment information from your cluster using the remote agent. This environment information includes environment variables, visible services, volume mounts, and secret mounts.
- Sets up the environment in Visual Studio so the service on your development computer can access the same variables as if it were running on the cluster.
- Updates your hosts file to map services on your cluster to local IP addresses on your development computer. These hosts file entries allow code running on your development computer to make requests to other services running in your cluster. To update your hosts file, Bridge to Kubernetes will ask for administrator access on your development computer when connecting to your cluster.
- Starts running and debugging your code on your development computer. If necessary, Bridge to Kubernetes will free required ports on your development computer by stopping services or processes that are currently using those ports.
The project code is available on Github.
Bridge to Kubernetes lets you work in isolation from colleagues using the same cluster and namespace by leveraging our new routing technology. You can also apply the isolation capability outside the Bridge to Kubernetes experience, such as directly from a GitHub pull request. You can test changes from a PR directly in Kubernetes before the pull request is merged into the main branch of your repo.Nick GreenfieldProgram Manager, Bridge to Kubernetes
Get similar news in your inbox weekly, for free
Share this news:
The all-in-one monitoring solution for IT admins, DevOps and SREs
Get deep visibility into the performance of your complex enterprise applications and cloud native workloads. Identify potential issues, improve productivity, and ensure that your business and end users are unaffected by downtime and substandard performance ...
How ManageEngine Applications Manager Can Help Overcome Challenges In Kubernetes Monitoring
We tested ManageEngine Applications Manager to monitor different Kubernetes clusters. This post shares our review …
IT Monitoring Powered by AIOps
Harness the power of artificial intelligence (AI) and machine learning (ML) to monitor your IT resources with Site24x7's artificial intelligence for IT operations (AIOps) and machine learning operations (MLOps). Improve mean time to repair (MTTR) issues with the help of Site24x7 AIOps ...
AIOps with Site24x7: Maximizing Efficiency at an Affordable Cost
In this post we'll dive deep into integrating AIOps in your business suing Site24x7 to …
A Review of Zoho ManageEngine
Zoho Corp., formerly known as AdventNet Inc., has established itself as a major player in …
Should I learn Java in 2023? A Practical Guide
Java is one of the most widely used programming languages in the world. It has …
The fastest way to ramp up on DevOps
You probably have been thinking of moving to DevOps or learning DevOps as a beginner. …
Why You Need a Blockchain Node Provider
In this article, we briefly cover the concept of blockchain nodes provider and explain why …
Top 5 Virtual desktop Provides in 2022
Here are the top 5 virtual desktop providers who offer a range of benefits such …