Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Visual Studio Tools for Kubernetes

Visual Studio Tools for Kubernetes

Microsoft

microsoft.com
|
15,503 installs
| (9) | Free
Develop and deploy your .NET applications to Kubernetes.

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 Kubernetes

The 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).

Note: This extension is only available for Visual Studio 2017 and has been deprecated. The latest functionality is integrated within the installation of Visual Studio 2019. For the latest functionality, install Visual Studio 2019 with the "Azure Development" workload enabled.

Installation

Getting started with Kubernetes development in Visual Studio 2017:

  1. Install the ASP.NET and web development workload from the Visual Studio installer.
  2. Download and install the Visual Studio Tools for Kubernetes extension
  3. When prompted, shut down Visual Studio to allow the extension installation to complete, then restart Visual Studio.

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 Start

Use 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.

Screenshot of creating a new Kubernetes app project

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.

Screenshot of adding container orchestrator support to an existing project

To debug your project using Azure Dev Spaces, ensure that Azure Dev Spaces is set as the debug launch target.

Screenshot of selecting Azure Dev Spaces 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.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft