Coder Social home page Coder Social logo

Comments (5)

asm582 avatar asm582 commented on June 30, 2024

MCAD in its current state will dispatch the workloads if a completed job referenced by appwrapper is deleted by the user. MCAD does not know when an item inside an appwrapper completes and the impact of one item completion on the entire appwrapper.

We already have a WIP progress PR that enables MCAD to have rich state information. This will enable MCAD to have more insights into the completion status of item(s) expressed by users.

from multi-cluster-app-dispatcher.

asm582 avatar asm582 commented on June 30, 2024

@MEllis-github did we try to answer your question?

from multi-cluster-app-dispatcher.

MEllis-github avatar MEllis-github commented on June 30, 2024

To recap, in the current version, once the AppWrapper reaches a Running state, all associated resources will be counted against the cluster's available resources until the AppWrapper is deleted by the user, is that right?
With the WIP, it will be possible to leverage rich state information to ~loosen this behavior?

from multi-cluster-app-dispatcher.

asm582 avatar asm582 commented on June 30, 2024

To recap, in the current version, once the AppWrapper reaches a Running state, all associated resources will be counted against the cluster's available resources until the AppWrapper is deleted by the user, is that right?

Yes

With the WIP, it will be possible to leverage rich state information to ~loosen this behavior?

No, the design is to always clean up pods. with new states, users can express when an item inside appwrapper completes so that the MCAD controller can delete such objects

from multi-cluster-app-dispatcher.

MEllis-github avatar MEllis-github commented on June 30, 2024

This is helpful, thanks!

No, the design is to always clean up pods. with new states, users can express when an item inside appwrapper completes so that the MCAD controller can delete such objects

So in the new WIP specification, the user will be able to define a completion condition, and then MCAD will automatically adjust its resource calculation when that condition is reached, whether or not the AppWrapper has been deleted? Or alternatively, an automated or manual auxiliary method of cleaning-up AppWrapped workloads will always be required, but a service or user can leverage the rich state information to do so?

from multi-cluster-app-dispatcher.

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.