Coder Social home page Coder Social logo

Comments (10)

mjj29 avatar mjj29 commented on July 17, 2024 1

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

from eksctl.

github-actions avatar github-actions commented on July 17, 2024

Hello mjj29 👋 Thank you for opening an issue in eksctl project. The team will review the issue and aim to respond within 1-5 business days. Meanwhile, please read about the Contribution and Code of Conduct guidelines here. You can find out more information about eksctl on our website

from eksctl.

yuxiang-zhang avatar yuxiang-zhang commented on July 17, 2024

Hey @mjj29 could you please check if this answers your question? #6158

from eksctl.

mjj29 avatar mjj29 commented on July 17, 2024

Hi there, any updates?

from eksctl.

yuxiang-zhang avatar yuxiang-zhang commented on July 17, 2024

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)

from eksctl.

TiberiuGC avatar TiberiuGC commented on July 17, 2024

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

The problem here is similar to the issue previously indicated (#6158). The instance selector returns a bunch of instance types that satisfy your requirement (vCPUs: 16), among which there are GPU instances. Thus, eksctl tries to select a compatible AMI, which for Windows is not available.

func selectManagedInstanceType(ng *api.ManagedNodeGroup) string {
if len(ng.InstanceTypes) > 0 {
for _, instanceType := range ng.InstanceTypes {
if instanceutils.IsGPUInstanceType(instanceType) {
return instanceType
}
}
return ng.InstanceTypes[0]
}
return ng.InstanceType
}

As per this comment, I agree that this is a bug and eksctl could EITHER:

  • return an error, if the desired instance type was requested by the user
    OR
  • ignore GPU instances if they were returned by instance selector, provided other instance types fulfil the requirements

For the moment, I'm not sure about the implementation details of the fix. I'll investigate further.

from eksctl.

mjj29 avatar mjj29 commented on July 17, 2024

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

from eksctl.

TiberiuGC avatar TiberiuGC commented on July 17, 2024

Yes, I've tried the configuration below and it's working

amiFamily: WindowsServer2022CoreContainer
instanceSelector:
  vCPUs: 16
  gpus: 0

from eksctl.

mjj29 avatar mjj29 commented on July 17, 2024

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:

Warning FailedCreatePodSandBox 10s kubelet, ip-10-78-134-13.eu-central-1.compute.internal Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "b60ef7a1d8e2a3889cf3dc44daedecd756bb9994a3cd3f58ee795a20f1c390e0": plugin type="vpc-bridge" name="vpc" failed (add): failed to parse Kubernetes args: failed to get pod IP address win-worker-node-6b76c4cc65-fcdxv: error executing k8s connector: error executing connector binary: exit status 1 with execution error: pod win-worker-node-6b76c4cc65-fcdxv does not have label vpc.amazonaws.com/PrivateIPv4Address

from eksctl.

mjj29 avatar mjj29 commented on July 17, 2024

Now I have this error: Warm pool for resource vpc.amazonaws.com/PrivateIPv4Address is currently empty, will retry in 600ms

from eksctl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.