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.dev20241005104131.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94e1fd3c39f821190062b0d5a68fa4260b0b1aff7947c3fd5a90d631b234edb2 |
|
MD5 | b6a4095054787f34feea4b4b895e2f95 |
|
BLAKE2b-256 | 1809c795519b4c40a70d3f946b77ddbaf0b6717c2350de27d5702ef9f5b01696 |
Close
Hashes for trainy_policy_nightly-0.1.0.dev20241005104131-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e21a5606db29bed4a7ab7b38a9ad7f7ae63b60a3617c1850c04ea15f9b8a4b84 |
|
MD5 | 5dfaf5db3862a86aa59a5da38ca2ac8d |
|
BLAKE2b-256 | 81b5c8eb0083a9627477a9de5bfbaaca205297c20af8dbacf6e2f72853a1b417 |