- With capability match, Managed SkyPilot filters clusters by whether they meet the requested hardware and features, such as the GPU model, the number of GPUs per node, InfiniBand™ or a shared filesystem.
- With capacity chasing, Managed SkyPilot chases capacity across other clusters or regions when the preferred cluster has insufficient capacity.
- With failover and retries, Managed SkyPilot handles provisioning failures, such as preemptions or insufficient capacity, by automatically retrying with other matching clusters.
Costs
Nebius AI Cloud charges you only for Managed Kubernetes nodes.Steps
Install dependencies
- Make sure you have Python 3.10 or higher installed.
-
Install the SkyPilot CLI with Kubernetes and Nebius support:
Prepare infrastructure
-
Create a Managed SkyPilot server:
- In the Nebius AI Cloud console, go to AI orchestration → SkyPilot. If you don’t have a Managed SkyPilot server in your project, a landing page opens.
- Click Create server. The creation page opens.
- Enter a name for the server or keep the default one.
- Click Create server.
-
Connect to the Managed SkyPilot server:
-
Check that SkyPilot can reach your project:
At this stage, no Managed Kubernetes clusters have been added yet, so the output looks similar to the following:You will run the same command again later to confirm that the contexts are picked up.
- Create at least one Managed Kubernetes cluster with a GPU node group. To demonstrate cross-cluster fault tolerance, create two or more clusters.
Add Managed Kubernetes clusters to Managed SkyPilot
The Managed SkyPilot server auto-discovers all Managed Kubernetes clusters in the same project. You don’t need to add a local kubeconfig or configure a service account.- Open the SkyPilot dashboard. On the server page in the web console, click How to connect and then open the public endpoint URL.
- On the dashboard, go to the Infra tab and click Refresh. The dashboard lists the Managed Kubernetes clusters available to Managed SkyPilot.
-
Verify that SkyPilot can access the clusters:
The output lists the enabled contexts:
-
(Optional) For detailed per-cluster and per-node GPU availability, run:
The output shows the available GPUs and per-node availability:
(Optional) Limit clusters that Managed SkyPilot uses
By default, Managed SkyPilot can place jobs on any Managed Kubernetes cluster it discovers. To restrict Managed SkyPilot to a subset of clusters for every user of this server, setkubernetes.allowed_contexts in the dashboard:
- In the SkyPilot dashboard, click Configuration.
-
In the Edit SkyPilot API Server Configuration textbox, paste the following YAML, listing the contexts in the order in which SkyPilot should evaluate them:
- Click Apply.
sky check kubernetes again.
Run a job
Decide how Managed SkyPilot should choose the target Managed Kubernetes cluster:-
To let Managed SkyPilot fail over across clusters, run
sky launchwithout specifying a cluster:Managed SkyPilot picks the first context that satisfies the request and submits the job: -
To target a specific Managed Kubernetes cluster, set
--infra k8s/<context>:If the targeted cluster does not have the requested resources, SkyPilot returns an error:
--gpus parameter, set the node group platform, such as H100, B300 or L40S.
Both examples run a Bash command as the entrypoint. You can also pass a YAML task definition instead. For examples, see the SkyPilot quickstart.
(Optional) Monitor jobs
To list all SkyPilot jobs created during this tutorial and their statuses, run:How to delete the created resources
Some of the created resources are chargeable. If you don’t need them, delete these resources, so Nebius AI Cloud doesn’t charge for them:-
Delete SkyPilot jobs created during this tutorial:
- Delete Managed Kubernetes clusters.
- If you no longer need the Managed SkyPilot server, delete it in the Nebius AI Cloud console. Go to AI orchestration → SkyPilot, open the Settings tab, and click Delete server.
InfiniBand and InfiniBand Trade Association are registered trademarks of the InfiniBand Trade Association.