Hi, is there a good way to cancel jobs with wildcards (*) so that I can cancel jobs that share the specific phrases, or would it be possible to add a support for that?
It seems like sky down supports tearing down clusters matching glob patterns, but I couldn't find a similar feature for sky jobs cancel:
Usage: sky-nightly jobs cancel [OPTIONS] [JOB_IDS]...
Cancel managed jobs.
You can provide either a job name or a list of job IDs to be cancelled. They
are exclusive options.
Examples:
# Cancel managed job with name 'my-job'
$ sky jobs cancel -n my-job
# Cancel managed jobs with IDs 1, 2, 3
$ sky jobs cancel 1 2 3
# Cancel all managed jobs in pool 'my-pool'
$ sky jobs cancel -p my-pool
Options:
--config TEXT Path to a config file or a single key-value pair. To add
multiple key-value pairs add multiple flags (e.g. --config
nested.key1=val1 --config nested.key2=val2).
-n, --name TEXT Managed job name to cancel.
-p, --pool TEXT Pool name to cancel.
-a, --all Cancel all managed jobs for the current user.
-y, --yes Skip confirmation prompt.
-u, --all-users Cancel all managed jobs from all users.
-h, --help Show this message and exit.
Hi, is there a good way to cancel jobs with wildcards (*) so that I can cancel jobs that share the specific phrases, or would it be possible to add a support for that?
It seems like
sky downsupports tearing down clusters matching glob patterns, but I couldn't find a similar feature forsky jobs cancel: