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.dev20241006104244.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52b05cb646bb72c8fd497943a118f7fc158a674e0a3930765b9c4db8f9a6766f |
|
MD5 | 8c3abb9d0de86f9de774d73e8ba657f2 |
|
BLAKE2b-256 | 85c87fa4446d8d19c12961f05d763f13346e10649e2ed6cf52d6c6d9e7bf1078 |
Close
Hashes for trainy_policy_nightly-0.1.0.dev20241006104244-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc08a02490a9006810eabfbb78864b1fe1a60c604fc57ca53a6c7fc59da46a38 |
|
MD5 | 494a10db11587119eb17c12e1c9feab0 |
|
BLAKE2b-256 | 3da225714ce0f97026a902684758c5c5557af324a2b649f4835b7e15f756332b |