Microservice architecture has become a very popular for building highly-available cloud-based applications. Each service can be deployed and maintained independently. Targeting .NET Core allows us to run these microservices as Docker containers in Kubernetes which provides a highly scalable and resilient environment. During this session, we will discuss and demonstrate the creation of a CI/CD pipeline for creating AKS infrastructure and the process of creating Docker images and deploying to the environment.
Follow the labs to provided in order to walkthrough setting up a cluster and deploying a .NET Core microservice.
A .NET Core service is provided for the lab in the app directory.
It's a simple shell that provides the following topics:
- Logging using .NET Core
- Configuration mangement using .NET Core appsettings.json
- Mounting volumes for k8s config-map and secrets
- Docker
- self-hosting background worker service
- Handling signals in order to gracefully shutdown application
- K8s deployment configuration