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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20241030104430.tar.gz
Algorithm Hash digest
SHA256 bb1a0308c47586ad8fa1c1bad40da05876927e42fd229d8d84ad1fbde1e44357
MD5 10d83543800cfee407ff96f51224204e
BLAKE2b-256 3976874cd91c62ce05fc721143ae066f0618215d97d1ba8cc69f0dc76dad6b98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20241030104430-py3-none-any.whl
Algorithm Hash digest
SHA256 9aa4c43fe39b3be7ada47b20a62066b2993a20a64b44d7cfc85870238bba787d
MD5 8559792d48ebb951c72ee73fad56a1b0
BLAKE2b-256 f00156537ebc2e85f285c4f111e29d99fe20a636f1b08b45c68cb2a7772a835f

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