Google Cloud Container V1 Client - Class NodeManagement (1.30.3)

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

NodeManagement defines the set of node management services turned on for the node pool.

Generated from protobuf message google.container.v1.NodeManagement

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ auto_upgrade bool

A flag that specifies whether node auto-upgrade is enabled for the node pool. If enabled, node auto-upgrade helps keep the nodes in your node pool up to date with the latest release version of Kubernetes.

↳ auto_repair bool

A flag that specifies whether the node auto-repair is enabled for the node pool. If enabled, the nodes in this node pool will be monitored and, if they fail health checks too many times, an automatic repair action will be triggered.

↳ upgrade_options Google\Cloud\Container\V1\AutoUpgradeOptions

Specifies the Auto Upgrade knobs for the node pool.

getAutoUpgrade

A flag that specifies whether node auto-upgrade is enabled for the node pool. If enabled, node auto-upgrade helps keep the nodes in your node pool up to date with the latest release version of Kubernetes.

Returns
Type Description
bool

setAutoUpgrade

A flag that specifies whether node auto-upgrade is enabled for the node pool. If enabled, node auto-upgrade helps keep the nodes in your node pool up to date with the latest release version of Kubernetes.

Parameter
Name Description
var bool
Returns
Type Description
$this

getAutoRepair

A flag that specifies whether the node auto-repair is enabled for the node pool. If enabled, the nodes in this node pool will be monitored and, if they fail health checks too many times, an automatic repair action will be triggered.

Returns
Type Description
bool

setAutoRepair

A flag that specifies whether the node auto-repair is enabled for the node pool. If enabled, the nodes in this node pool will be monitored and, if they fail health checks too many times, an automatic repair action will be triggered.

Parameter
Name Description
var bool
Returns
Type Description
$this

getUpgradeOptions

Specifies the Auto Upgrade knobs for the node pool.

Returns
Type Description
Google\Cloud\Container\V1\AutoUpgradeOptions|null

hasUpgradeOptions

clearUpgradeOptions

setUpgradeOptions

Specifies the Auto Upgrade knobs for the node pool.

Parameter
Name Description
var Google\Cloud\Container\V1\AutoUpgradeOptions
Returns
Type Description
$this