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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20241104222322.tar.gz
Algorithm Hash digest
SHA256 5ac05da21aa52095608881c3bcb03fa3542ee812804a8dbb9cbb4da17cd59175
MD5 a22b4929d1895fba1896f1fceb8f5b7b
BLAKE2b-256 2a68ae7c96b145d96617ebd6a082e05861c1e3e67515a1e0c64d04a3f13967b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20241104222322-py3-none-any.whl
Algorithm Hash digest
SHA256 4f6126f7ad2cdf376cfb4d06cc2566a0af5342fa39ffedc995740baa8b9a9fd8
MD5 7eeb4d68dd91a841d6a551c43ad10c06
BLAKE2b-256 d6fc7600f86533c3b0fe3a8e38b808877e14646c5018dc934ae6ed3720dd0685

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