Bitnami has released the Helm chart for ASP.NET Core, a framework designed by Microsoft that allows developers to create web applications and services for any platform in a fast and secure way.
This chart is a good example of the two-way exchange between Bitnami and its community. We are working hard at making more charts available in our catalog and, at the same time, our users are also sending us their proposals for new charts.
The ASP.NET Core Helm chart is an example of this collaboration. A user proposed this chart for the catalog and, with the help of the Bitnami team, created the manifest files required for building the chart. The result? An updated and production-ready ASP.NET Helm chart that uses not-root containers and ships the latest versions of its components and dependencies.
This blog post explains how to deploy your custom ASP.NET Core application on a Kubernetes cluster using this new Bitnami Helm chart.
ASP.NET Core: an open source framework for building cloud native applications
- It provides a modular HTTP request pipeline.
- It works with Kestrel, IIS, HTTP.sys, Nginx, Apache, Docker.
- It includes Razor Pages that provides page-focused scenarios.
- It ships Blazor, a framework for building interactive client-side web UI using C# instead of JavaScript.
- It supports the dependency injection software design pattern technique.
Deploy a ASP.NET Core application using a Docker image
The first step is to add the Bitnami chart repository as follows:
$ helm repo add bitnami https://charts.bitnami.com/bitnami
Then, deploy the chart using the parameters shown below. These will override the default image when deploying the chart. Remember to replace the DOCKER-USERNAME/IMAGE-NAME, TAG_NAME, COMMANDS and ARGUMENTS placeholders with your Docker account username and name of your application, application tag name, and the command and arguments to run your container within a pod.
$ helm install my-release bitnami/aspnet-core
--appFromExternalRepo.enabled=false \
--image.registry=docker.io \
--image.repository=DOCKER-USERNAME/IMAGE-NAME \
--image.tag=TAG_NAME \
--command=COMMAND \
--args=ARGUMENTS
Do you want to learn more about the Bitnami ASP.NET Core Helm chart? Check its README file for a complete list of deployment parameters and then give it a try by installing the chart directly in your cluster or through the Kubeapps catalog!