Git Product home page Git Product logo

Comments (6)

brianhlin avatar brianhlin commented on July 18, 2024

@LincolnBryant what sort of cleanup task were you thinking?

from slate-catalog.

LincolnBryant avatar LincolnBryant commented on July 18, 2024

hi @brianhlin, note this ticket is quite old at this point. however I believe at the time I was thinking of having a preStop hook in Kubernetes that would signal to the pod to remove something. perhaps SSH to the remote side and stop any pilots & delete itself? i guess you could get quite complex with this.

notably I was thinking of the case where we want to completely remove a CE (vs say just pausing it, where in that case we would probably just do a slate instance scale --replicas=0 to stop the running instance but leave all of the config intact)

from slate-catalog.

brianhlin avatar brianhlin commented on July 18, 2024

The deployment already has a preStop that drains the CE, which should also remove the pilots from the remote batch system. So I think this is already done unless you want to do BOSCO/WN client cleanup from the remote host's disk, too.

from slate-catalog.

Mansalu avatar Mansalu commented on July 18, 2024

I have observed that jobs will stay in the remote batch system's queue after the CE is removed. atleast in the case of slurm.

from slate-catalog.

brianhlin avatar brianhlin commented on July 18, 2024

That's curious. Could you try running the drain-ce.sh script manually and taking a look at the GridmanagerLog? I'd expect that the CE would send an scancel to the remote jobs.

from slate-catalog.

Mansalu avatar Mansalu commented on July 18, 2024

This was fixed at some point.

from slate-catalog.

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.