Giter Club home page Giter Club logo

Comments (5)

Cryptophobia avatar Cryptophobia commented on August 27, 2024

From @helgi on October 5, 2016 21:46

That seems like a problem with the e2e setup and not Controller - deis run has a 20-minute timeout loop itself on top of waiting for the component to come up in Kubernetes.

I'm suspecting any run that has deis run failures also has additional failures. Kubernetes could be too slow for the e2e 60 second wait period.

from controller.

Cryptophobia avatar Cryptophobia commented on August 27, 2024

From @bacongobbler on October 5, 2016 22:2

I think the ask is "is 60 seconds too long for deis run ls?" in which case, yes it can be. The problem is that the image needs to be fetched onto the worker node before the command is run. If there was a way we could pre-warm the worker nodes with the image, that may help speed things up.

I think it's both e2e's fault (the controller has a 20 minute timeout for deis run operations, so maybe the e2e run should do the same) and it's also the controller's implementation of deis run. If we can plug into kubectl exec instead of dropping a pod every time we call deis run, that might help make this situation more ideal.

from controller.

Cryptophobia avatar Cryptophobia commented on August 27, 2024

From @helgi on October 5, 2016 22:28

@bacongobbler kubectl into an existing pod? I think the argument against that would be that you use those pods to serve traffic or do alternative things where as run may be a bit destructive / intense operations. Not sure tho.

from controller.

Cryptophobia avatar Cryptophobia commented on August 27, 2024

From @bacongobbler on October 5, 2016 23:1

That is true. There can be an argument made for and against using kubectl exec for deis run.

from controller.

Cryptophobia avatar Cryptophobia commented on August 27, 2024

From @helgi on October 5, 2016 23:9

Yeah - Agreed. We could make both work... exec mode picks a random pod of the a type (a particular proc type needs to be picked) to run

from controller.

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.