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.dev20241002104317.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d48bc6a8cef78b7a14829a62082188c3b5d5b18dd03690e630e72be4690a3b4f |
|
MD5 | 1d401df4122ad99ec81402e884cb420a |
|
BLAKE2b-256 | 071ddf46c43b77f37114a18b449fc2261b191483f58d8a6c27d5e20919917117 |
Close
Hashes for trainy_policy_nightly-0.1.0.dev20241002104317-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40b71d2d293368d998ab7cb3ad92593148266859f2ae16f597ee7bcef9a5b38d |
|
MD5 | baef628ae50b4da0a19c3fd224d6165b |
|
BLAKE2b-256 | 6ac696b0a6e279a2b274824bef3125ab0a87cfd1c647a9d1a9e2094f355c3f5e |