Skip to main content

cluster_upgrade_info

Creates, updates, deletes, gets or lists a cluster_upgrade_info resource.

Overview

Namecluster_upgrade_info
TypeResource
Idgoogle.container.cluster_upgrade_info

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
autoUpgradeStatusarrayThe auto upgrade status.
endOfExtendedSupportTimestampstringThe cluster's current minor version's end of extended support timestamp.
endOfStandardSupportTimestampstringThe cluster's current minor version's end of standard support timestamp.
minorTargetVersionstringminor_target_version indicates the target version for minor upgrade.
patchTargetVersionstringpatch_target_version indicates the target version for patch upgrade.
pausedReasonarrayThe auto upgrade paused reason.
upgradeDetailsarrayThe list of past auto upgrades.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_clusters_fetch_cluster_upgrade_infoselectprojectsId, locationsId, clustersIdversionFetch upgrade information of a specific cluster.
projects_zones_clusters_fetch_cluster_upgrade_infoselectprojectsId, zonesId, clustersIdversionFetch upgrade information of a specific cluster.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
clustersIdstring
locationsIdstring
projectsIdstring
zonesIdstring
versionstring

SELECT examples

Fetch upgrade information of a specific cluster.

SELECT
autoUpgradeStatus,
endOfExtendedSupportTimestamp,
endOfStandardSupportTimestamp,
minorTargetVersion,
patchTargetVersion,
pausedReason,
upgradeDetails
FROM google.container.cluster_upgrade_info
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND clustersId = '{{ clustersId }}' -- required
AND version = '{{ version }}';