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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20250216104035.tar.gz
Algorithm Hash digest
SHA256 b5d4f77f3fd99726b7a842c4ac8934a71ed9dc47424e3eb19dee500862d4516b
MD5 4050e3760069d6de8b09d4589c58e5ab
BLAKE2b-256 caa429833e37808803a8d688fdb0a2d35cf0892ae5e374e0ec2f88d38479df15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20250216104035-py3-none-any.whl
Algorithm Hash digest
SHA256 4f374b777b9d8601b3dbc3e0596ea0bed39dd84bafa81c3361aa1fb6d4e61c7b
MD5 157927689441bb14431196538499fa8c
BLAKE2b-256 0d9542ce78868f8462e9b8d417ac5c5ca16b3b9ea9580bb1c3cd9a3341b06a23

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