Skip to content

Commit ea0dbcc

Browse files
authored
Update windows-support.adoc
1 parent 73fb5a6 commit ea0dbcc

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

latest/ug/clusters/windows-support.adoc

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ aws iam attach-role-policy \
7878
--role-name eksClusterRole \
7979
--policy-arn {arn-aws}iam::aws:policy/AmazonEKSVPCResourceController
8080
----
81-
. Create a file named [.replaceable]`vpc-resource-controller-configmap.yaml` with the following contents.
81+
. If the VPC CNI *is not* installed as an Amazon EKS Add-on:
82+
.. Create a file named [.replaceable]`vpc-resource-controller-configmap.yaml` with the following contents.
8283
+
8384
[source,yaml,subs="verbatim,attributes"]
8485
----
@@ -90,13 +91,16 @@ metadata:
9091
data:
9192
enable-windows-ipam: "true"
9293
----
93-
. Apply the `ConfigMap` to your cluster.
94+
.. Apply the `ConfigMap` to your cluster.
9495
+
9596
[source,bash,subs="verbatim,attributes"]
9697
----
9798
kubectl apply -f vpc-resource-controller-configmap.yaml
9899
----
99-
. Verify that your `aws-auth` `ConfigMap` contains a mapping for the instance role of the Windows node to include the `eks:kube-proxy-windows` RBAC permission group. You can verify by running the following command.
100+
. If the VPC CNI *is* installed as an Amazon EKS Add-on:
101+
** Review <<kubernetes-field-management>> to understand how to configure Amazon EKS Add-ons. Update the configuration of the add-on to include `enable-windows-ipam: "true"`.
102+
. If your cluster has the authentication mode set to enable the `aws-auth` configmap:
103+
** Verify that your `aws-auth` `ConfigMap` contains a mapping for the instance role of the Windows node to include the `eks:kube-proxy-windows` RBAC permission group. You can verify by running the following command.
100104
+
101105
[source,bash,subs="verbatim,attributes"]
102106
----
@@ -124,7 +128,7 @@ data:
124128
----
125129
+
126130
You should see `eks:kube-proxy-windows` listed under groups. If the group isn't specified, you need to update your `ConfigMap` or create it to include the required group. For more information about the `aws-auth` `ConfigMap`, see <<aws-auth-configmap>>.
127-
131+
. If your cluster has the authentication mode set to disable the `aws-auth` configmap, then you can use EKS Access Entries. Create a new node role for use with Windows instances, and EKS will automatically create an access entry of type `EC2_WINDOWS`.
128132

129133
[#windows-support-pod-deployment]
130134
== Deploy Windows Pods

0 commit comments

Comments
 (0)