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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20250112104037.tar.gz
Algorithm Hash digest
SHA256 fbe3c2b555c8e51b5ba3ea2865fc547b8930a225e408f29bbe14952eab7535ff
MD5 c84f95ce57bd05ab9ab2a1da72c41461
BLAKE2b-256 56e5e7191eeff606cd834724fc16448c52bd6f87311b27351015676573857bf5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20250112104037-py3-none-any.whl
Algorithm Hash digest
SHA256 f6896070ead20942f736e02c6c9850bd59d49e9e708f553c49e0997c2c4f9fbb
MD5 3930dd10ccc75b04b283a39da8068318
BLAKE2b-256 bb6325606bfd864488be017f8186e4f004f7acaba9a64aa72d6ee5f7cf431acc

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