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.dev20241001104439.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 760cf934f9f8041bda3e75a83aa4aedf6147c5139fbcb5adbb6da31d6a429566 |
|
MD5 | 3500f7cab02e7d782cafd26a3c1a7c3d |
|
BLAKE2b-256 | 145226114192ebe46146fa3f92ec8ad5d69d3e5ab0b6478d22ce2befb6568358 |
Close
Hashes for trainy_policy_nightly-0.1.0.dev20241001104439-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d49182b72edbc7d11e068989c0813cbaf9ab9fcc0c817d09cb6fb557be8c7a8 |
|
MD5 | 9ab87415da309ed906ee867b613c4add |
|
BLAKE2b-256 | e13e94241a22c0fa64a308337fd3a43b7253ac2b6dd13d26f383e35d495d5288 |