skip to content
[readonly]

What a program needs from the fleet scheduler: placement terms, replicas, migration, reservations

sh
$ sexc add @ajax/mesh-manifest-needs
  • total 3
  • drwxr-xr-x-../
  • drwxr-xr-x-Oct 27 02:56v/# 1 version
  • drwxr-xr-x-Oct 27 02:56files/# the files of 0.1.0
latest
0.1.0, published Oct 27 02:56 by ajax
owners
ajax
license
MIT
dependencies
@ajax/mesh-text ^0.1.0, @ajax/mesh-abi-backend ^0.1.0, @ajax/mesh-abi-base ^0.1.0, @ajax/mesh-check ^0.1.0
dependents
@ajax/mesh-fleetd, @ajax/mesh-manifest, @ajax/mesh-peer-relay, @ajax/mesh-sched-needs
keywords
mesh alphaos manifest scheduler fleet
homepage
https://github.com/thomasdavis/alpha-c-mesh/tree/main/packages/mesh-manifest-needs
repository
https://github.com/thomasdavis/alpha-c-mesh
==> README.md <==
1# @ajax/mesh-manifest-needs
2
3What a program needs and prefers from the fleet scheduler: its manifest's `replicas`, `spread`, `prefer`, `avoid`, `arch`, `min_mem_mb`, `colocate_with`, `group*`, `priority`, `migrate` and the `cpu`/`mem_mb` reservations, as `mesh_needs`; placement terms (`cuda`, `host:NAME`, `system:K`, `arch:A`) with their parser.
4
5`Term::matches` needs the scheduler's member type, so it lives with the scheduler.
6
7## Ported from
8
9[alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh) (Richard Safier, MIT): crates/mesh-host/src/sched.rs (`Replicas`, `Migrate`, `Term`, `Needs`).
10
11## Tests
12
13Through @ajax/mesh-manifest-encode's golden test (the Needs' Debug output is compared with the Rust's).
14
15## Licence
16
17MIT. See the repository's LICENSE.