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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20250204104245.tar.gz
Algorithm Hash digest
SHA256 bb3e99beb1ca4d0917288a9bc0f8d1033b52b036ce61e683017bd80ecc6f673a
MD5 2e1dfcd4a65ffa8c34fd0ccfceb3e319
BLAKE2b-256 b381ea145cfba3967d16ab662a2160df624738e80afe20a7a56024dd92323b3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20250204104245-py3-none-any.whl
Algorithm Hash digest
SHA256 56902b63e3d2f84d67156754515ab08eb67745c3e4de9a6320c1c7fa54f102ba
MD5 36751be05a265e1e637308e710519a43
BLAKE2b-256 7c3d1d6ad89b30d2a08c12bfd5db3f82bc78e6cee8c37c74544813680b7127bd

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