Using Kubernetes, the developer provisions the SQL Server container together with the REST API container (in the same middle tier as described in Use Case 1) in a pod. A pod is a group of one or more containers using shared networking, storage, and configurations. In our pod, the REST API has been configured to connect to the SQL Server, as shown in the following figure, tightly integrating the two applications. The value in using pods is the capability of quickly provisioning shared application services, minimizing human configuration errors and post-configuration efforts. Kubernetes transforms the manual provisioning of our containers from Use Case 1 into an easy-to-use service.
Figure 9. Provisioning the pod of SQL Server and REST API containers