Create an EKS Cluster with a Windows Container
Create cluster.yaml
file as follows:
cluster.yaml
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
name: eolh-tutorial
region: us-east-1 # region of your choice
nodeGroups:
- name: ng-1
amiFamily: WindowsServer2022FullContainer
instanceType: t3.medium
desiredCapacity: 1
maxSize: 2
- name: linux-ng
amiFamily: AmazonLinux2
desiredCapacity: 1
maxSize: 2
Then run this command to create a cluster:
eksctl create cluster -f cluster.yaml
Note that we need a Linux node for DNS resolution.
Reference
https://docs.aws.amazon.com/eks/latest/userguide/windows-support.html