Interface NodePoolAutoscalingOrBuilder (2.11.0)

public interface NodePoolAutoscalingOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAutoprovisioned()

public abstract boolean getAutoprovisioned()

Can this node pool be deleted automatically.

bool autoprovisioned = 4;

Returns
TypeDescription
boolean

The autoprovisioned.

getEnabled()

public abstract boolean getEnabled()

Is autoscaling enabled for this node pool.

bool enabled = 1;

Returns
TypeDescription
boolean

The enabled.

getLocationPolicy()

public abstract NodePoolAutoscaling.LocationPolicy getLocationPolicy()

Location policy used when scaling up a nodepool.

.google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5;

Returns
TypeDescription
NodePoolAutoscaling.LocationPolicy

The locationPolicy.

getLocationPolicyValue()

public abstract int getLocationPolicyValue()

Location policy used when scaling up a nodepool.

.google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5;

Returns
TypeDescription
int

The enum numeric value on the wire for locationPolicy.

getMaxNodeCount()

public abstract int getMaxNodeCount()

Maximum number of nodes for one location in the NodePool. Must be >= min_node_count. There has to be enough quota to scale up the cluster.

int32 max_node_count = 3;

Returns
TypeDescription
int

The maxNodeCount.

getMinNodeCount()

public abstract int getMinNodeCount()

Minimum number of nodes for one location in the NodePool. Must be >= 1 and <= max_node_count.

int32 min_node_count = 2;

Returns
TypeDescription
int

The minNodeCount.

getTotalMaxNodeCount()

public abstract int getTotalMaxNodeCount()

Maximum number of nodes in the node pool. Must be greater than total_min_node_count. There has to be enough quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the *_node_count fields.

int32 total_max_node_count = 7;

Returns
TypeDescription
int

The totalMaxNodeCount.

getTotalMinNodeCount()

public abstract int getTotalMinNodeCount()

Minimum number of nodes in the node pool. Must be greater than 1 less than total_max_node_count. The total_*_node_count fields are mutually exclusive with the *_node_count fields.

int32 total_min_node_count = 6;

Returns
TypeDescription
int

The totalMinNodeCount.