This extension for Visual Studio 2017 is deprecated and will not receive future updates/fixes. Please install Visual Studio 2019 with the "Azure Development" workload to receive the latest updates.Visual Studio Tools for KubernetesThe Visual Studio Kubernetes Tools help streamline the development of containerized applications targeting Kubernetes. Visual Studio can automatically create the configuration-as-code files needed to support Kubernetes deployment, such as Dockerfiles and Helm charts, and leverage Azure Dev Spaces to rapidly iterate on and debug code running in Azure Kubernetes Service (AKS).
InstallationGetting started with Kubernetes development in Visual Studio 2017:
If you wish to debug using Azure Dev Spaces, you will need an Azure Kubernetes Service (AKS) cluster. For more details, please see the Azure Dev Spaces quickstart If you wish to debug code running in Docker containers on your development workstation, you will also need Docker for Windows. Docker for Windows is not required for debugging using Azure Dev Spaces. Quick StartUse the new Container Application for Kubernetes template to quickly create a new ASP.NET web application project with a Dockerfile and Helm chart pre-created for you, suitable for deploying to Kubernetes. Alternatively, you can add Kubernetes support to an existing ASP.NET web application project by right clicking on the project in Solution Explorer and clicking Add > Container Orchestrator Support and selecting Kubernetes/Helm. To debug your project using Azure Dev Spaces, ensure that Azure Dev Spaces is set as the debug launch target. Then, just press F5! Visual Studio will build a container image in Azure, run your application inside it, and open up a debug session to the running container image -- all with the press of a button. |