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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20241209104719.tar.gz
Algorithm Hash digest
SHA256 8648f79c1d0a844c426d02b8b9d939fc18500666a6ea2f82f0b1e30b486ff63f
MD5 e08d8494089ad80472e118077a11717d
BLAKE2b-256 4bb788692b61a0559ad4f3cadb15cb2d11992bb8deacd86698855f35634323dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20241209104719-py3-none-any.whl
Algorithm Hash digest
SHA256 57345777a96d189d68932ebed5c143b7d5b363211494d356c0c180c3764c8590
MD5 26a692c7473ecfe31168fb93e641b9b4
BLAKE2b-256 5afdb2c5dd14bd1f65028823cb33c121f8492a62a0c85b449075d112fe14c3ed

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