KRM API upgrade.gdc.goog/v1

upgrade.gdc.goog/v1

MaintenanceWindow

MaintenanceWindow specifies a recurring time window for applying for patch and minor version upgrades.

Appears in: - MaintenanceWindowList

Field Description
apiVersion string upgrade.gdc.goog/v1
kind string MaintenanceWindow
metadata ObjectMeta Refer to Kubernetes API documentation for fields of metadata.
spec MaintenanceWindowSpec

MaintenanceWindowList

MaintenanceWindowList represents a collection of MaintenanceWindows.

Field Description
apiVersion string upgrade.gdc.goog/v1
kind string MaintenanceWindowList
metadata ListMeta Refer to Kubernetes API documentation for fields of metadata.
items MaintenanceWindow array

MaintenanceWindowSpec

MaintenanceWindowSpec provides the specification (i.e., desired state) of a MaintenanceWindow.

Appears in: - MaintenanceWindow

Field Description
upgradeType UpgradeType UpgradeType indicates the type of the MaintenanceWindow, which is one of UpgradeTypeMinor and UpgradeTypePatch.
recurrence string Recurrence encodes a RRULE string to indicate how the window recurs. https://icalendar.org/iCalendar-RFC-5545/3-8-5-3-recurrence-rule.html Ex. TimeWindow.StartTime = 2022-04-18T02:00:00Z TimeWindow.EndTime = 2022-04-18T06:00:00Z Recurrence = FREQ=WEEKLY;BYDAY=MO,WE These parameters would create a schedule that starts on 04/18/2022 from 2 a.m to 6 a.m. Every Monday and Wednesday after, the same 2.am-6.am pattern would recur.
timeWindow TimeWindow TimeWindow contains the start and end times for the MaintenanceWindow.
exclusions TimeWindow array Exclusions is an array of TimeWindows that were skipped. Exclusions will only contain times specific up to the hour.

TimeWindow

TimeWindow defines a chunk of time.

Appears in: - MaintenanceWindowSpec

Field Description
start Time Start indicates the start of the window.
end Time End indicates the end of the window.

UpgradeType

Underlying type: string UpgradeType specifies the type of an upgrade. Only one of the following upgrade types may be specified.

Appears in: - MaintenanceWindowSpec