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.dev20241022104332.tar.gz
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 0c18008afc92d1c2ca1964f8d86bd50777329a4d08ad68ac76b0b3d68e941d84 |
|
| MD5 | 9a75cc237335d79306f824a8e2776132 |
|
| BLAKE2b-256 | 2376469a584eb21ed35970b7060dde858ff7a874765ad19c5b3326e716fe60a4 |
Close
Hashes for trainy_policy_nightly-0.1.0.dev20241022104332-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 6ab961b7dc970801c8458dc909197f70bfafe3b4883f07e9167b53f542f70dd4 |
|
| MD5 | 284dede59b67326d52f5f16617a9a147 |
|
| BLAKE2b-256 | fac9d6179e8b579456858eb915c365509c26b8883b9986cc3bc7e72957a09589 |