How to check that a maintenance event is issued
- Connect to your Managed Kubernetes cluster.
-
Get the node ID:
Output:The node ID is
computeinstance-***. -
Check that a maintenance event is issued and the time that it is scheduled for:
If the event is issued, the command shows the
NebiusMaintenanceScheduledKubernetes condition. For example:In theMessagecolumn, the command shows the SLA deadline: the latest time the maintenance event should take place.
How to launch maintenance manually in Managed Kubernetes
- Connect to your Managed Kubernetes cluster.
- Make sure that a maintenance event is issued.
-
Get the node group ID:
The node group ID is specified in the
items.metadata.idparameter of the output. -
Change the maintenance event time:
If you want to start the node drain and the maintenance as soon as possible, set the
truevalue for thenebius.com/perform-maintenanceKubernetes label. Alternatively, you can set a specific time for the maintenance. For a specific time, make sure that the following conditions are met:- The time should not be in the past. If you set a time in the past, the
truevalue applies instead, and the node drain starts as soon as possible. - The time should be at least five minutes earlier than the SLA deadline. Otherwise, the time is ignored, and the
truevalue applies.
-
Unix time in seconds, for example,
1262304000. This format implies the UTC timezone by default. -
RFC 3339 modified for Kubernetes labels:
- Use a full stop
.as a separator, instead of a colon:. - Use the
_hh.mmformat to specify a UTC+N timezone (for example,_02.00for UTC+2). - Use the
-hh.mmformat to specify a UTC-N timezone (for example,-03.00for UTC-3).
Time in a given timezone Value Time in UTC June 12, 2025, 8:05 UTC-2 2025-06-12T08.05.00-02.00June 12, 2025, 10:05 UTC, 2025-06-12T10.05.00June 12, 2025, 8:05 UTC+2 2025-06-12T08.05.00_02.00June 12, 2025, 6:05 UTC, 2025-06-12T06.05.00 - Use a full stop
- The time should not be in the past. If you set a time in the past, the