Trainy Skypilot Policy
Project description
Trainy Skypilot Policy
This is a package that defines the Skypilot policies necessary for running on Trainy clusters. The purpose of the policy is to
- mutate tasks to add the necessary labels/annotations (kueue, networking, etc.) per cloud provider
- set the available k8s clusters to be those that are visible via tailscale in the allowed k8s cluster contexts
For users, they set in ~/.sky/config.yaml
admin_policy: trainy.policy.DynamicKubernetesContextsUpdatePolicy
and install
pip install "trainy-skypilot-nightly[kubernetes]"
pip install trainy-policy-nightly
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
Built Distribution
Close
Hashes for trainy_policy_nightly-0.1.0.dev20240928104110.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e161b6b48ca882a49ad3e04322b090bac679e95cb47cbe8e7688f49c62a3cfe |
|
MD5 | 59be575dfe5cb0aea392e875616e324f |
|
BLAKE2b-256 | 5024ad3416e8af48a93d14e79853e9d4682410b9a807ce4718d677fc03a39e93 |
Close
Hashes for trainy_policy_nightly-0.1.0.dev20240928104110-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 270e57feb80b91cdb0474bdd91c3b568f5d88e9cf259d1566d8adcc38e143555 |
|
MD5 | b5ef6655d3bddfdc2feedbc315f3c6bd |
|
BLAKE2b-256 | eb84e3f16b2f280a5e5319ae255be3c4201b2ab7bd52fcb6e20ee16f7da2cd10 |