Google Cloud Container V1 Client - Class NodeConfigDefaults (2.2.1)

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

Subset of NodeConfig message that has defaults.

Generated from protobuf messagegoogle.container.v1.NodeConfigDefaults

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ gcfs_configGoogle\Cloud\Container\V1\GcfsConfig

GCFS (Google Container File System, also known as Riptide) options.

↳ logging_configGoogle\Cloud\Container\V1\NodePoolLoggingConfig

Logging configuration for node pools.

↳ containerd_configGoogle\Cloud\Container\V1\ContainerdConfig

Parameters for containerd customization.

↳ node_kubelet_configGoogle\Cloud\Container\V1\NodeKubeletConfig

NodeKubeletConfig controls the defaults for new node-pools. Currently onlyinsecure_kubelet_readonly_port_enabled can be set here.

getGcfsConfig

GCFS (Google Container File System, also known as Riptide) options.

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

hasGcfsConfig

clearGcfsConfig

setGcfsConfig

GCFS (Google Container File System, also known as Riptide) options.

Parameter
NameDescription
varGoogle\Cloud\Container\V1\GcfsConfig
Returns
TypeDescription
$this

getLoggingConfig

Logging configuration for node pools.

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

hasLoggingConfig

clearLoggingConfig

setLoggingConfig

Logging configuration for node pools.

Parameter
NameDescription
varGoogle\Cloud\Container\V1\NodePoolLoggingConfig
Returns
TypeDescription
$this

getContainerdConfig

Parameters for containerd customization.

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

hasContainerdConfig

clearContainerdConfig

setContainerdConfig

Parameters for containerd customization.

Parameter
NameDescription
varGoogle\Cloud\Container\V1\ContainerdConfig
Returns
TypeDescription
$this

getNodeKubeletConfig

NodeKubeletConfig controls the defaults for new node-pools.

Currently onlyinsecure_kubelet_readonly_port_enabled can be set here.

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

hasNodeKubeletConfig

clearNodeKubeletConfig

setNodeKubeletConfig

NodeKubeletConfig controls the defaults for new node-pools.

Currently onlyinsecure_kubelet_readonly_port_enabled can be set here.

Parameter
NameDescription
varGoogle\Cloud\Container\V1\NodeKubeletConfig
Returns
TypeDescription
$this

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.