Deploying .NET Core application on local Kubernetes cluster

from Docker -> Docker Compose -> Kubernetes

Chandan Rauniyar
Level Up Coding
Published in
10 min readJan 12, 2021

--

Kubernetes, also abbreviated as K8s, is an open-source system for automating deployment, scaling, and management of containerized applications. In today’s world of containerized microservices application, K8s helps to make it easier to manage, deploy and scale our containers across various pods, nodes and clusters. Kubernetes has been widely adopted by organisations to manage, deploy and scale containers.

A few months ago, I was working on a dotnet core application with a couple of API endpoints with Swagger integration. Using the API, we can register a user and then log in to get JWT. We can also get a list of registered users. The project uses Entity Framework Core as the database layer using Npgsql.EntityFrameworkCore.PostgreSQL as the database provider. Full code of the project is available on my GitHub account.

--

--