Helps workloads find safe harbor.
Project description
pylighthouse
Helps workloads find safe harbor.
- Free software: Apache Software License 2.0
- Documentation: https://pylighthouse.readthedocs.io.
Features
- Scheduling-as-a-library, in pure python
- Schedule workloads onto nodes
- Flexible definition of requirements needed by workloads and resources offered by nodes
- Tag nodes simply by adding a zero-quantity resource
- “Taints and Tolerations”-like behavior supported through the use of Wards and Immunitites
- Anti-affinity-group-like behavior supported through the use of Aversion Groups
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
Changelog
All notable changes to this project will be documented here.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
v0.1.0
Added
- Node class
- Workload class
- Distributor base class
- PrioritizedDistributor class
- RoundRobinDistributor class
- BinPackDistributor class
- distributor classes have a method called attempt_attach_workloads, the primary use case of this library
Changed
Fixed
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pylighthouse-0.1.0.tar.gz
(18.9 kB
view hashes)
Built Distribution
Close
Hashes for pylighthouse-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe9d1580ad049b87a500a81e119e079e786ae742c1fab0c5403476d196989788 |
|
MD5 | bac3c27d7713f2383665c135d985a18b |
|
BLAKE2-256 | 6def6cee7b8b7ccb6c135ea112a456b906289ab8e6ba276e416b74ff56ad866c |