Each recipe in this section is an example of deploying a .NET application to a windows server, managed by Kubernetes. All recipies assume a running cluster, an established ~/.kube/config, and the kubectl cli.
With those core components established, moving .NET applications to Kubernetes becomes the combination of the app artifact, a Dockerfile, and the K8 deployment manifest. The Dockerfile will declare a base image and configure the app’s environment (IIS, registry, install dependencies, install services, etc) to create the container. The K8 manifest will instruct the platform how to deploy the container and what services to connect. Note the use of a base container image in each Dockerfile
FROM microsoft/iis. This image must match the operating system being used by the Kubernetes worker (Server 1803, Server 2019, etc). All the receipies assume Windows Server 2019, by using the latest image.
The recipies will suggest how to navigate specific configurations, through the combination of all these components.