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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20251101104258.tar.gz
Algorithm Hash digest
SHA256 0356ee0334e74c8acf0730e503c97dd624f3a308f34dd7ac9797b2930cdce2fb
MD5 7648ed78b0fda374a0019b3db6e372f9
BLAKE2b-256 407a12abb0faa91cdfd33c2d9bdf54447e6f8a6b5aca537757948f210a50e92e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20251101104258-py3-none-any.whl
Algorithm Hash digest
SHA256 3b9e5c1b55aba4b273fa1bf0e469385b94dd8033aa349da7b29f33eede5bdb0f
MD5 9052664f08fc60365afc2e393d88f159
BLAKE2b-256 bb85905f2d3469c08d9c4e2ad7cf27e64f5a0e31e0a778bd11d4d531f01236c2

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