All Products
Search
Document Center

Container Service for Kubernetes:maintenance_window

Last Updated:Nov 12, 2024
ParameterTypeDescriptionExample
object

The configurations of the cluster maintenance window.

enableboolean

Specifies whether to enable the cluster maintenance window. Valid values:

  • true: enables the cluster maintenance window.
  • false: disables the cluster maintenance window.

Default value: false.

false
maintenance_timestring

The start time of the cluster maintenance window. The value follows a standard time format in Golang. Example: 15:04:05Z.

03:00:00Z
durationstring

The duration of the cluster maintenance window. Valid values: 1 to 24. Unit: hours.

Default value: 3.

3h
weekly_periodstring

The day of the week when maintenance is performed. Separate multiple days with commas (,). Valid values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, and Sunday.

Default value: Thursday.

Monday,Thursday
recurrencestring

Defines a maintenance window recurrence rule by using the RFC5545 recurrence rule. Currently, only FREQ=WEEKLY is supported, and you cannot specify COUNT or UNTIL.

FREQ=WEEKLY;INTERVAL=4;BYDAY=MO,TU