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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20241202104755.tar.gz
Algorithm Hash digest
SHA256 92f754a0bc08f6ebe1e61e69b0c142e1ab3a7a4cfba8b42db60858030b1a4461
MD5 e2cbeb216e263a7a9b5e04cbce4a77f8
BLAKE2b-256 0e6b2bcd9987aca6255a47bfd6bcf4d3558004555c90a975c3ead3e476b81fc9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20241202104755-py3-none-any.whl
Algorithm Hash digest
SHA256 a7abdf4026d4b1a973ac10abd0045083110bd1c506954fdc2de49206f045c9b0
MD5 b6837d4590b5a53802dea6ebd0b03962
BLAKE2b-256 eae7245bf9b06858e412f2611490dd9157d068e76db2bcf773876a5d728cfd81

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