Deploying a Windows Pod on Amazon EKS
In Chapter 9, Deploying a Windows Node Group, in the Deploying a Windows node group with Terraform section, we covered and deployed a heterogenous Amazon EKS cluster with a Windows node group.
In this chapter, we will deploy a Windows Pod running an IIS container image and expose it via a Kubernetes service that automatically creates an ELB Classic Load Balancer.
Important note
You will see code snippets for the remainder of this section. The full Terraform code for this chapter can be found at https://github.com/PacktPublishing/Running-Windows-Containers-on-AWS/tree/main/eks-windows.
Unlike the previous chapters, we won’t use Terraform to deploy the Windows Pod; instead, we will connect to the cluster we created and deploy the Windows Pod using kubectl
.
kubectl
is a command-line tool to easily interface with the Kubernetes control plane through the Kubernetes API to perform manual actions from deploying Pods to troubleshooting...