Package google.cloud.gkehub.clusterupgrade.v2

Index

GKEUpgrade

GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade.

Fields
name

string

Name of the upgrade, e.g., "k8s_control_plane".

version

string

Version of the upgrade, e.g., "1.22.1-gke.100".

IgnoredMembership

IgnoredMembership represents a membership ignored by the feature. A membership can be ignored because it was manually upgraded to a newer version than RC default.

Fields
reason

string

Reason why the membership is ignored.

ignored_time

Timestamp

Time when the membership was first set to ignored.

MembershipGKEUpgradeState

MembershipGKEUpgradeState is a GKEUpgrade and its state per-membership.

Fields
upgrade

GKEUpgrade

Which upgrade to track the state.

status

UpgradeStatus

Status of the upgrade.

State

Per-membership state for this feature.

Fields
upgrades[]

MembershipGKEUpgradeState

Actual upgrade state against desired.

ignored

IgnoredMembership

Whether this membership is ignored by the feature. For example, manually upgraded clusters can be ignored if they are newer than the default versions of its release channel.

UpgradeStatus

UpgradeStatus provides status information for each upgrade.

Fields
code

UpgradeStatus.Code

Status code of the upgrade.

reason

string

Reason for this status.

update_time

Timestamp

Last timestamp the status was updated.

Code

Status code of an upgrade.

Enums
CODE_UNSPECIFIED Required by https://linter.aip.dev/126/unspecified.
INELIGIBLE The upgrade is ineligible. At the scope level, this means the upgrade is ineligible for all the clusters in the scope.
PENDING The upgrade is pending. At the scope level, this means the upgrade is pending for all the clusters in the scope.
IN_PROGRESS The upgrade is in progress. At the scope level, this means the upgrade is in progress for at least one cluster in the scope.
SOAKING The upgrade has finished and is soaking until the soaking time is up. At the scope level, this means at least one cluster is in soaking while the rest are either soaking or complete.
FORCED_SOAKING A cluster will be forced to enter soaking if an upgrade doesn't finish within a certain limit, despite it's actual status.
COMPLETE The upgrade has passed all post conditions (soaking). At the scope level, this means all eligible clusters are in COMPLETE status.