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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20241102104139.tar.gz
Algorithm Hash digest
SHA256 4792276e1916fffd256b45101c687d5d562fa2299117101837bde853ca4d5a2a
MD5 b1cf8e1ecadffd06a3532b79dde8c9ce
BLAKE2b-256 1b3b4fa361d0df4f54d6c36b40356a4f884e1ac0920cf8021e60d9af37f39fe6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20241102104139-py3-none-any.whl
Algorithm Hash digest
SHA256 f28730fe83d8dd8902e4cfb55c8fcbbd8a1b215fdfb0117b7adfae6ee772550d
MD5 1cdb558e9095d5c26b994334c7d56a68
BLAKE2b-256 ab0dc2466323fe635bbb97261c3f45d821d185309bcedf8a4429f24f8ef3c831

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