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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20241104221951.tar.gz
Algorithm Hash digest
SHA256 d5f46b530dfe67f08c6cca1187bfa736670f0aff4e295ed3fe224f1a37208d95
MD5 9bc0d76ce935af135f65f5449157e0b3
BLAKE2b-256 d01b714f77a18cc78b561a239c26509d2fa53174f9be792c0c1a672d3ba5388d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20241104221951-py3-none-any.whl
Algorithm Hash digest
SHA256 241883525c4a5ee014301174c48f10d8ff8c9f805d6dffc56a539da31c16652c
MD5 6a5242990095ce7511fb417a6dce5103
BLAKE2b-256 64c6c2d3843d5c6ca51dd2ee8cdb2cfadf7cc3ba0bdd87187cb2c45aa3b5d160

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