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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20241016104329.tar.gz
Algorithm Hash digest
SHA256 4b43b08b52fed1ef48a3a26a83e345c836fcd6b148def7d150f8ece16813f2ad
MD5 961fd11f297a02f168add1e261d33e61
BLAKE2b-256 2a581532db3900e4e0eda2b5a83e74fd630b8ce41d0aa22276363c954b496bb8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20241016104329-py3-none-any.whl
Algorithm Hash digest
SHA256 701c676b68cf2521715d413202c85c3d9d605d2750b39586afacb28f6ddbd1be
MD5 2867402482401bb22f77f26e66434349
BLAKE2b-256 88b38a87d7c6fcec77a151e2c572b70e6bbebfe05ecd32934f24c40977b848c2

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