Prerequisites
- Install and configure the Nebius AI Cloud CLI.
-
Check that your project ID is saved in the Nebius AI Cloud CLI profile configuration:
-
Install jq to extract IDs and tokens from the JSON data returned by the Nebius AI Cloud CLI:
How to get a list of all maintenance operations
Run the following command to get a list of all past and upcoming maintenance operations:-
metadata.id: The ID of the maintenance operation. You can use this ID to get the details of an operation or edit it. -
metadata.parent_id: The ID of the project that contains the resource affected by the maintenance. -
metadata.created_at: The time that the maintenance operation was created. -
spec.scheduled_at: The time that maintenance is scheduled for, in the ISO 8601 format. -
status.affected_resources: The identifiers of resources affected by the maintenance and the ID of the project they belong to (parent_id). If the maintenance event affects your resources in another service, they are also listed here. You can filter the output to see only the affected resources for . -
status.state: The state of the maintenance, for example,STATE_FINISHED,STATE_SCHEDULEDorSTATE_CANCELLED. -
status.reschedulable: If set totrue, andstatus.stateis set toSTATE_SCHEDULED, you can reschedule the maintenance.
Filtering the output
To filter the list output by MLflow clusters, run the following command:affected_resources array of each list item.
How to get the details of a maintenance operation
To get details of a maintenance operation, run the following command:Output example
Output example
How to reschedule a maintenance operation
You can reschedule a maintenance operation if it meets the following conditions:status.stateis set toSTATE_SCHEDULED.reschedulableis set totrue.
-
Run the following command:
-
In the editor that opens, change the value of
spec.scheduled_atto your desired time in the ISO 8601 format. Keep in mind that you can only specify a date and time that is in the future. - When prompted, confirm the update.
get command to check the updated details.