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.dev20241007104428.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90f12e505fe073f92d77cad1e1b33d03b2d29b0870cef258032e1179065c3dfa |
|
MD5 | 9c6260b9b9eb7762983a18daface0f46 |
|
BLAKE2b-256 | 76198672252b53acf1ddaba4c33b5f8782e308c80cea0aaab76771455cdb2a60 |
Close
Hashes for trainy_policy_nightly-0.1.0.dev20241007104428-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f746f73c27396277a81ddd1c36ab94d0e6831aab4dbf7bb9c42455053df2f2b1 |
|
MD5 | d03b4f7b767701c76fa4c76e1506da30 |
|
BLAKE2b-256 | e4fe03d5e40853af51313ed593479c5052a1d5013344aea6ee614715af2d977a |