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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20241217104637.tar.gz
Algorithm Hash digest
SHA256 b52426846be0e41efc0c45bca7fdf38b2a59393c40f1abe51efc628a4ee732e3
MD5 841d1c6b24dceaee69ecf09fd5032a4d
BLAKE2b-256 6cc67424dde623ae28c33ab6772d3a6161fa4a9b851882d2a694fb93afd08f7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20241217104637-py3-none-any.whl
Algorithm Hash digest
SHA256 495d3df515eaba4010b7bc07640848640c3a3223ae91b5c80fb57d7f5796006c
MD5 461eeff6667b7b1d87f4003a5db2dd75
BLAKE2b-256 f02aef581fdbf8f9386fa1c81f4a75d7f68d329fce3eda8bad8eb872b87d4bf6

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