All Products
Search
Document Center

Container Service for Kubernetes:maintenance_window

Last Updated:Apr 30, 2024
ParameterTypeDescriptionExample
object

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 must be in the standard Golang time format. Example: 15:04:05Z.

03:00:00Z
durationstring

The duration of the cluster maintenance window. The duration ranges from 1 hour to 24 hours. Unit: h.

Default value: 3h.

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