Skip to main content

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

Skypilot Admin Policies

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

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file trainy_policy_nightly-0.1.0.dev20250312104448.tar.gz.

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20250312104448.tar.gz
Algorithm Hash digest
SHA256 381f1ca7721e67073541fffb47b586a4be8cc5be8f202ac337701574d28a0781
MD5 53da384fe8963f1d1de90b498de17178
BLAKE2b-256 e9912f1f1f2d5ff99f693c7461b977a3ec7a518007c747d09e19ad8a2975041e

See more details on using hashes here.

File details

Details for the file trainy_policy_nightly-0.1.0.dev20250312104448-py3-none-any.whl.

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20250312104448-py3-none-any.whl
Algorithm Hash digest
SHA256 e910fcd895fa61c8b9efad5dabbd99caa9a12b5866f48f3ee00dbd4961f97743
MD5 8a60a862dac190b1627dacb2ee7b4967
BLAKE2b-256 bb5d30fd7bdeea44e84f118547d378b23170daf23ae5c687fe25f724de7a901a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page