UpgradeContext interface

Contextual information for a specific upgrade type (Kubernetes version or node OS image). Because the Kubernetes version and node OS image can be managed independently — for example, auto-upgrade for the node image but manual for the Kubernetes version — this context is reported per upgrade type rather than once for the whole cluster.

Properties

currentUpgradeStrategy

The strategy currently used to perform this type of upgrade (manual or auto-upgrade).

lastSuccessfulUpgradeTime

The UTC time of the last successful upgrade of this type for this scope. Clients can compute "days since last successful upgrade" from this value and the current time; the server intentionally does not return a precomputed value so that cached results do not go stale.

nextMaintenanceWindow

The next scheduled automatic upgrade maintenance window for this upgrade type, if auto-upgrade is configured.

Property Details

currentUpgradeStrategy

The strategy currently used to perform this type of upgrade (manual or auto-upgrade).

currentUpgradeStrategy?: string

Property Value

string

lastSuccessfulUpgradeTime

The UTC time of the last successful upgrade of this type for this scope. Clients can compute "days since last successful upgrade" from this value and the current time; the server intentionally does not return a precomputed value so that cached results do not go stale.

lastSuccessfulUpgradeTime?: Date

Property Value

Date

nextMaintenanceWindow

The next scheduled automatic upgrade maintenance window for this upgrade type, if auto-upgrade is configured.

nextMaintenanceWindow?: UpgradeInsightMaintenanceWindow

Property Value