Google Cloud Container V1 Client - Class NodePoolUpdateStrategy (2.8.0)

Reference documentation and code samples for the Google Cloud Container V1 Client class NodePoolUpdateStrategy.

Strategy used for node pool update.

Protobuf typegoogle.container.v1.NodePoolUpdateStrategy

Namespace

Google \ Cloud \ Container \ V1

Methods

static::name

Parameter
NameDescription
valuemixed

static::value

Parameter
NameDescription
namemixed

Constants

NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED

Value: 0

Default value if unset. GKE internally defaults the update strategy toSURGE for unspecified strategies.

Generated from protobuf enumNODE_POOL_UPDATE_STRATEGY_UNSPECIFIED = 0;

BLUE_GREEN

Value: 2

blue-green upgrade.

Generated from protobuf enumBLUE_GREEN = 2;

SURGE

Value: 3

SURGE is the traditional way of upgrade a node pool.

max_surge and max_unavailable determines the level of upgrade parallelism.

Generated from protobuf enumSURGE = 3;

SHORT_LIVED

Value: 5

SHORT_LIVED is the dedicated upgrade strategy forQueuedProvisioning and flex start nodepools scaled up only by enqueueing tothe Dynamic Workload Scheduler (DWS).

Generated from protobuf enumSHORT_LIVED = 5;

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-01-24 UTC.