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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20241204104633.tar.gz
Algorithm Hash digest
SHA256 a537aa29eefb1631e91b68053bff374cb7ad9c204b48a0085622dfdb3047a8e0
MD5 23a015cc26e778e4c7cb870b869f8c69
BLAKE2b-256 dad28077e70367b5d1b58b542cdbfd7b05414267b1579e7e8eacf971a275e73b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20241204104633-py3-none-any.whl
Algorithm Hash digest
SHA256 3ae395886eb3f7c88ced4125cb9067c46a6e8717a1e63a6bb19b8ec7807d765c
MD5 9e3ee3463cd17a7743ba9226bccf73d9
BLAKE2b-256 ebb0b41aa15fda7f79064c38d1e5509232d9c66ad5a97ff0c5ed90b53acf7031

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