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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20250418104631.tar.gz
Algorithm Hash digest
SHA256 6923d4e936c6c0a09b637170c8897e6b242381cb022004a9804002cd8caed0ed
MD5 594de69058df9e2238632172dbc64c6b
BLAKE2b-256 26eeda2349400fd1010a48422824a2e489e670b4f205500fef51b6371ede7841

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20250418104631-py3-none-any.whl
Algorithm Hash digest
SHA256 76d8eec4623b9fb5a0a27901188916f1cbdfc6fd1506166faf5cae8c87174f70
MD5 7843c07d38beb0c32307bea3a4a3d65d
BLAKE2b-256 8df33c932610f8fb86f1cab849f2989356ffd0c5e1f9553392cc5d19f5733ccb

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