Dev Spaces connect for Azure Kubernetes Service is now in preview
Updated: 04 November, 2019
Azure Kubernetes Service (AKS) now enables developers to leverage Dev Spaces to run and debug a service locally, while still being able to connect to the other services and resources it depends on in the cloud as if it was running in the Kubernetes cluster.
Network traffic sent to the in-cluster container is redirected to the code running on your local machine. Environment variables and files are replicated locally, and for any services that your local code communicates with (such as http://service1/), the request is routed back to the cluster. This feature enables you to easily develop and test a service locally in the context of the broader application running in a shared AKS cluster, all without affecting other processes running in the cluster.
Developers writing microservice-based applications typically have to set up or mock the full graph of dependencies and maintain Docker and/or Kubernetes configuration files for a given application, just to work on an individual service. In order to solve a problem or iterate on an idea, developers have to make code changes, build and deploy an image, just to see the changes manifest. Executing this type of workflow dozens of times a day adds up to hours of lost productivity.