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.dev20250508104707.tar.gz.

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20250508104707.tar.gz
Algorithm Hash digest
SHA256 efa476da3382003a7a250e3918a5c44261a31cc7f9bb393dd18961f951c59323
MD5 3f01c550ddadbda4ec4716b7f4458fbb
BLAKE2b-256 c5f6f6f2cfd9c753f999cc7e9151bb6f2a7b03a249b7cf1a55e16fbbe373457d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20250508104707-py3-none-any.whl
Algorithm Hash digest
SHA256 a35a8606913297dfa93d3dedc7470f89b8715940254969802c86b07134884227
MD5 e96c1f5e1d8e40e17d21d7c5e275d847
BLAKE2b-256 b97c34a78ab09711e555724db883c74aebf5ff2058d0bf697aa0a4cbdaf973a5

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