Google Cloud Container V1 Client - Class NodeManagement (1.16.0)

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
NameDescription
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
TypeDescription
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
NameDescription
var bool
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var bool
Returns
TypeDescription
$this

getUpgradeOptions

Specifies the Auto Upgrade knobs for the node pool.

Returns
TypeDescription
Google\Cloud\Container\V1\AutoUpgradeOptions|null

hasUpgradeOptions

clearUpgradeOptions

setUpgradeOptions

Specifies the Auto Upgrade knobs for the node pool.

Parameter
NameDescription
var Google\Cloud\Container\V1\AutoUpgradeOptions
Returns
TypeDescription
$this