-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Support offline bootstrap of Windows nodes #1505
feat: Support offline bootstrap of Windows nodes #1505
Conversation
could you add working example of EKS with Windows nodes to https://github.com/terraform-aws-modules/terraform-aws-eks/tree/master/examples ? |
this looks like an area where we just make a generic variable and its up to users to provide whatever arguments they want for input rather than building out this massive string of input options |
This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@jaroslav-fedor-swi could you add provide here some EKS configuration with working windows workers or node groups? |
b90547a
to
fd89f14
Compare
@daroga0002 I added example of |
@jaroslav-fedor-swi I have run example but seems it is not working as EKS is created, instances are also created but they had not joined to EKS cluster |
I think I require to run procedure to enable windows support over EKS. I will try that approach |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jaroslav-fedor-swi 2 comments to address before merging
@@ -0,0 +1,65 @@ | |||
# Launch templates example | |||
|
|||
This is EKS example using workers launch template with worker groups feature. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is EKS example using workers launch template with worker groups feature. | |
This is EKS example using workers launch template with Windows worker groups feature. Additionally it create managed group with Linux nodes to satisfy generic EKS object placement (like Coredns). | |
After creating EKS cluster following procedure must be executed https://docs.aws.amazon.com/eks/latest/userguide/windows-support.html#macos-and-linux to allow Windows nodes to join cluster. |
] | ||
}, | ||
// default Linux worker group launch template for big workloads | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
] | |
] | |
node_groups = { | |
linux = { | |
desired_capacity = 1 | |
max_capacity = 10 | |
min_capacity = 1 | |
instance_types = ["t3.large"] | |
} | |
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jaroslav-fedor-swi can you commit those two suggestions into your branch?
This PR has been automatically marked as stale because it has been open 30 days |
This PR was automatically closed because of stale in 10 days |
This issue has been resolved in version 18.0.0 🎉 |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
PR o'clock
Description
In case you need to spin nodes in environment, that does not have egress to internet windows nodes does not connect to cluster. The reason behind that is that
Start-EKSBootstrap.ps1
which is baked in windows EKS AMI is executed with minimal set of parameters which then requires egress toeks.<region>.amazonaws.com
. This endpoint does not support private link and does not come with managed prefix list. The only way to make the Boostrap script offline is to pass additional arguments - private EKS endpoint and Cluster CA.Checklist