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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20241212104643.tar.gz
Algorithm Hash digest
SHA256 2ed2b0797e6eee6d902abef17f5665c84877e25a5bfbb9ee450eac40da3cb2f9
MD5 2c455a0b64aafffe99d9218e1c8008df
BLAKE2b-256 7810e0beb0f0fc549ae7e35d1e133dc8e02a277e31a537f1197a70755d520496

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trainy_policy_nightly-0.1.0.dev20241212104643-py3-none-any.whl
Algorithm Hash digest
SHA256 dfb60be3ddf934a60590a20fb460ac47bfa66c5c3a8281063592e0f86f4a618a
MD5 13f03511767403b9b44bc60a4bf970ea
BLAKE2b-256 5948d6d692fb50e9d0baf40de2eb5f2a28eb3aedcf51770ef1ee2fe5ad1fc73e

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