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.dev20241020104205.tar.gz
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 339ffa5569c31029647b28fb1a81780f5d794111c25ea17a832979d73945666f |
|
| MD5 | 0f55b5bdf096e29b16008df938990521 |
|
| BLAKE2b-256 | d85dc3937512e9d7285b9dda3ac66f52fc80bdd9bceda12fe8680bc2084a33ba |
Close
Hashes for trainy_policy_nightly-0.1.0.dev20241020104205-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 42da40354c0dd7902cc63121d6e963eb4f00af883d713aaa47fec0a1bbde544b |
|
| MD5 | f93ff82f1a4987f07c60a920a5621297 |
|
| BLAKE2b-256 | 20b45cc9caa675100bf48155666e350a4efb3e87ff8e6b5df3737b040a19c743 |