- Newest
- Most votes
- Most comments
kube-proxy is baked into the EKS Windows AMIs, the daemonset is not needed and should not run on windows nodes
answered a year ago
The issue you're experiencing with the EKS kube-proxy Add-On not creating pods on Windows nodes is due to the node selector configuration in the kube-proxy DaemonSet. The current configuration is specifically targeting Linux nodes, which explains why it's not deploying to your Windows nodes.
To enable kube-proxy on your Windows nodes, you need to make a few adjustments:
-
First, ensure that your Windows nodes have the necessary RBAC permissions. The Windows node role should include the
eks:kube-proxy-windowsgroup. You can verify this in youraws-authConfigMap or through EKS Access Entries, depending on your cluster's authentication mode. -
You'll need to modify the kube-proxy configuration to include support for Windows nodes. This typically involves adding a separate DaemonSet or modifying the existing one to include Windows-specific settings.
-
For Windows nodes, you'll need to use a Windows-compatible kube-proxy image. The image you're currently using is for Linux nodes.
-
Update the node selector to include Windows nodes. You might need to add a separate node selector for Windows or modify the existing one to include both Linux and Windows.
-
If you're using a self-managed kube-proxy add-on, you may need to update your userdata script for Windows nodes to include specific kube-proxy flags.
Given the complexity of running a mixed Linux and Windows node cluster, it's recommended to carefully review your cluster configuration and consider using the managed EKS add-ons when possible, as they can handle much of this complexity for you.
If you continue to face issues, you may need to consult with AWS support or review your cluster's specific configuration in more detail to ensure all components are correctly set up for a mixed node environment.
Sources
Deploy Windows nodes on EKS clusters - Amazon EKS
Windows Networking - Amazon EKS
answered a year ago
Relevant content
- AWS OFFICIALUpdated a year ago
