- Resource: Rollout
- Rollout.VersionUpgrade
- Rollout.VersionUpgrade.Type
- Rollout.State
- Rollout.Stage
- Rollout.Stage.State
- Rollout.RolloutMembershipState
- Rollout.RolloutMembershipState.RolloutTarget
- Rollout.RolloutMembershipState.RolloutTarget.State
- Methods
Resource: Rollout
Rollout contains the Rollout metadata and configuration.
| JSON representation |
|---|
{ "name": string, "displayName": string, "uid": string, "etag": string, "createTime": string, "updateTime": string, "completeTime": string, "deleteTime": string, "labels": { string: string, ... }, "state": enum ( |
| Fields | |
|---|---|
name |
Identifier. The full, unique resource name of this Rollout in the format of |
displayName |
Optional. Human readable display name of the Rollout. |
uid |
Output only. Google-generated UUID for this resource. This is unique across all Rollout resources. If a Rollout resource is deleted and another resource with the same name is created, it gets a different uid. |
etag |
Output only. etag of the Rollout Ex. abc1234 |
createTime |
Output only. The timestamp at which the Rollout was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. The timestamp at which the Rollout was last updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
completeTime |
Output only. The timestamp at which the Rollout was completed. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
deleteTime |
Output only. The timestamp at the Rollout was deleted. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
labels |
Optional. Labels for this Rollout. An object containing a list of |
state |
Output only. State specifies various states of the Rollout. |
stateReason |
Output only. A human-readable description explaining the reason for the current state. |
rolloutSequence |
Optional. Immutable. The full, unique resource name of the rollout sequence that initiatied this Rollout. In the format of |
stages[] |
Output only. The stages of the Rollout. |
membershipStates |
Output only. States of upgrading control plane or node pool targets of a single cluster (GKE Hub membership) that's part of this Rollout. The key is the membership name of the cluster. The value is the state of the cluster. An object containing a list of |
Union field rollout_type. Rollout type. rollout_type can be only one of the following: |
|
versionUpgrade |
Optional. Config for version upgrade of clusters. |
Rollout.VersionUpgrade
Config for version upgrade of clusters.
| JSON representation |
|---|
{
"type": enum ( |
| Fields | |
|---|---|
type |
Optional. Type of version upgrade specifies which component should be upgraded. |
desiredVersion |
Optional. Desired version of the component. |
Rollout.VersionUpgrade.Type
Type of the upgrade.
| Enums | |
|---|---|
TYPE_UNSPECIFIED |
Default value. |
TYPE_CONTROL_PLANE |
Control plane upgrade. |
TYPE_NODE_POOL |
Node pool upgrade. |
Rollout.State
State of the Rollout.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
Unspecified state. |
RUNNING |
The Rollout is running. |
PAUSED |
The Rollout is paused. |
CANCELLED |
The Rollout is in a failure terminal state. |
COMPLETED |
The Rollout is in a terminal state. |
Rollout.Stage
Stage represents a single stage in the Rollout.
| JSON representation |
|---|
{
"stageNumber": integer,
"state": enum ( |
| Fields | |
|---|---|
stageNumber |
Output only. The wave number to which this status applies. |
state |
Output only. The state of the wave. |
soakDuration |
Optional. Duration to soak after this wave before starting the next wave. A duration in seconds with up to nine fractional digits, ending with ' |
startTime |
Optional. Output only. The time at which the wave started. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
endTime |
Optional. Output only. The time at which the wave ended. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Rollout.Stage.State
| Enums | |
|---|---|
STATE_UNSPECIFIED |
Default value. |
PENDING |
The wave is pending. |
RUNNING |
The wave is running. |
SOAKING |
The wave is soaking. |
COMPLETED |
The wave is completed. |
FORCED_SOAKING |
The wave is force soaking. |
Rollout.RolloutMembershipState
Metadata about single cluster (GKE Hub membership) that's part of this Rollout.
| JSON representation |
|---|
{
"stageAssignment": integer,
"targets": [
{
object ( |
| Fields | |
|---|---|
stageAssignment |
Output only. The stage assignment of this cluster in this rollout. |
targets[] |
Output only. The targets of the rollout - clusters or node pools that are being upgraded. All targets belongs to the same cluster, identified by the membership name (key of membershipStates map). |
lastUpdateTime |
Optional. Output only. The time this status and any related Rollout-specific details for the membership were updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Rollout.RolloutMembershipState.RolloutTarget
Metadata about the status of targets (clusters or node pools) involved in the Rollout.
| JSON representation |
|---|
{ "state": enum ( |
| Fields | |
|---|---|
state |
Output only. The high-level, machine-readable status of this Rollout for the target. |
reason |
Optional. Output only. A human-readable description of the current status. |
operation |
Optional. Output only. The operation resource name performing the mutation. |
Union field target. The target of the rollout - cluster or node pool that is being upgraded. target can be only one of the following: |
|
cluster |
Optional. Output only. The resource link of the Cluster resource upgraded in this Rollout. It is formatted as: . |
nodePool |
Optional. Output only. The resource link of the NodePool resource upgraded in this Rollout. It is formatted as: |
Rollout.RolloutMembershipState.RolloutTarget.State
Status represents a machine-readable, high-level status of the target after actuating the Rollout on it.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
Unspecified state. |
PENDING |
The Rollout is pending for the target. |
RUNNING |
The Rollout is running for the target. |
FAILED |
The Rollout failed for the target. |
SUCCEEDED |
The Rollout succeeded for the target. |
PAUSED |
The Rollout is paused for the target. |
REMOVED |
The target was removed from the Rollout. |
INELIGIBLE |
The target is ineligible for the Rollout. |
Methods |
|
|---|---|
|
Retrieve a single rollout. |
|
Retrieve the list of all rollouts. |