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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20250521104712.tar.gz
Algorithm Hash digest
SHA256 ad73924326358c465e540b2e6431d23e9598a70e04ce8eaf116220816c19460e
MD5 ad5b3a9ea35e7abb54f65e36dbb1a686
BLAKE2b-256 749f92da4c9456610e491249b00890547f22a14c08fe9ad83a8d93365e16de4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20250521104712-py3-none-any.whl
Algorithm Hash digest
SHA256 96517811e69f536fe55c3d5f4ec9e0668854c09e1fd250cbfa9dbbd286662299
MD5 1741bd24f8837d9b3967acf3f6625a86
BLAKE2b-256 442b1cdceffef997a2465e6c02cdbcf04475c0da2a3942482689efde3b44c9be

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