Skip to main content

Command Palette

Search for a command to run...

Quick and dirty helm chart

Published
2 min read
Quick and dirty helm chart
F

I used to be a .NET developer. Nowaways, I am a DevOps solutions architect with a focus on Azure and Kubernetes.

I also love productivity topics, especially when it comes to doing more with less of my time. I'm also a daddy, so time is a limited resource for me.

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.

Pre-Requisites

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.