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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20241209104720.tar.gz
Algorithm Hash digest
SHA256 5bee39ce343ceadec4221fd741808587dd4d7ebf91efc7851b55190c92cec917
MD5 d973a46495fe5f1349b23d7cd2c6236f
BLAKE2b-256 a2f5a73c57fd9211e6cdacd8eb634dbfb1e8fa5688089159d917001984167800

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20241209104720-py3-none-any.whl
Algorithm Hash digest
SHA256 1e93b9c5fe70c2c3e42dcd1e27d65d2cf0e10e7bc46b1c02546fbb8d914f8f0e
MD5 a4099116c5e4bd6e27416868bac27de2
BLAKE2b-256 078081f168e8795e3758ce78b838d51d711c551e3465929ca22ab2f60cb7988b

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