-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Bug] Creating windows node group actually creates linux nodes #7645
Comments
I read that one, and the other one about errors occurring during the process. I'm not asking (nor do I need) for GPUs, and there weren't any errors displayed |
Hi there, any updates? |
Hi, I can't reproduce the issue, I can create windows nodegroups with windows nodes without any problem (even with the same config file you had). Regarding the VPC controller error, please take a look at #7521 (comment) |
The problem here is similar to the issue previously indicated (#6158). The instance selector returns a bunch of instance types that satisfy your requirement ( eksctl/pkg/cfn/builder/managed_nodegroup.go Lines 223 to 233 in 76902cd
As per this comment, I agree that this is a bug and
For the moment, I'm not sure about the implementation details of the fix. I'll investigate further. |
OK, that sounds plausible. I can presumably work around it by specifying gpu: false in the selector? I definitely think that your second option is what it should do |
Yes, I've tried the configuration below and it's working
|
OK, I can confirm this has created windows nodes for me now. However, I was still getting the IP address error, so I followed the steps on https://docs.aws.amazon.com/eks/latest/userguide/windows-support.html#enable-windows-support and then deleted and replaced my windows pod deployment and I still get:
|
Now I have this error: |
I've been trying to create Windows EKS clusters and every time I try it I actually get Linux nodes instead. I tried with this command to add them to an existing cluster:
eksctl create nodegroup --cluster=apama-windows --node-ami-family=WindowsServer2022CoreContainer --node-volume-size=200 --instance-selector-vcpus=16 --instance-selector-cpu-architecture x86_64 --spot
We tried creating a complete cluster including nodes with:
It complained that we would need to run
eksctl utils install-vpc-controllers --name=apama-windows --region=eu-north-1 --approve
, but created linux nodes so it wouldn't matter.I tried creating linux nodes only, then running that command, then adding windows nodes. That command failed with
Error: error installing VPC controller: creating CertificateSigningRequest: constructing REST client mapping for certificates.k8s.io/v1beta1, Kind=CertificateSigningRequest: no matches for kind "CertificateSigningRequest" in versions ["certificates.k8s.io/" "certificates.k8s.io/v1beta1"]
, but I ensured we had running VPC controllers, then tried to add nodes, then still got linux nodes.I tried with 2022Core, 2019Core and 2022Full.
What's going on?
The text was updated successfully, but these errors were encountered: