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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20250207104247.tar.gz
Algorithm Hash digest
SHA256 228788472b385e6112f6eef35d3e779aa9855218cc1e8643d4276ff6d0e27bf3
MD5 f14d0b557ba5601e39b13896a8b33ec4
BLAKE2b-256 37eeb2af5df84f6609b7d1b0b0f8471109effe33e774bcb4ffa2f827373f26b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20250207104247-py3-none-any.whl
Algorithm Hash digest
SHA256 ce51872dd341b2ab04f3d2f3da4bfed775a62ca8d705382af7d911848ed8487e
MD5 0cb400baab5743d1556fc094e695df39
BLAKE2b-256 7bb9b7321bf3eda37d242b1b0fea22292f6abb4415a9a9fafd0c4773be2088d4

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