Yesterday, I posted about how to create a quick and dirty container using Visual Studio and ASP.NET Core. Today, I will be continuing the demo to show how to create a quick helm chart for an ASP.NET Core application.


The Shortcut

Similar to yesterday’s topic, I recommend that you understand the basics first. Kubernetes fundamentals is a great place to start. I really like this PluralSight course. Secondly, it’s a good idea to understand the basics of Helm so that you understand the value it providers and when it’s a good use of time.

This quick post will walk you through using Visual Studio to create Helm charts tailored for ASP.NET Core apps.

First, right-click, select “Add” then “Add Container Orchestrator Support.

Then, select Kubernetes/Helm.

That’s it! You’ll notice:

  • A azds.yaml file. This is for Azure Dev Spaces. I often delete it.
  • A charts folder. It contains the generated helm chart for this app. It contains many of the k8s resources typically used for a web app like the ingress route definition, service definition, deployment definition, and helper functions to help with secrets.