Google Cloud Container V1 Client - Class NodeConfig (1.16.0)

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

Parameters that describe the nodes in a cluster.

GKE Autopilot clusters do not recognize parameters in NodeConfig. Use AutoprovisioningNodePoolDefaults instead.

Generated from protobuf message google.container.v1.NodeConfig

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ machine_type string

The name of a Google Compute Engine machine type If unspecified, the default machine type is e2-medium.

↳ disk_size_gb int

Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.

↳ oauth_scopes array

The set of Google API scopes to be made available on all of the node VMs under the "default" service account. The following scopes are recommended, but not required, and by default are not included: * https://www.googleapis.com/auth/compute is required for mounting persistent storage on your nodes. * https://www.googleapis.com/auth/devstorage.read_only is required for communicating with gcr.io (the Google Container Registry). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.

↳ service_account string

The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the "default" service account is used.

↳ metadata array|Google\Protobuf\Internal\MapField

The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the reserved keys: - "cluster-location" - "cluster-name" - "cluster-uid" - "configure-sh" - "containerd-configure-sh" - "enable-os-login" - "gci-ensure-gke-docker" - "gci-metrics-enabled" - "gci-update-strategy" - "instance-template" - "kube-env" - "startup-script" - "user-data" - "disable-address-manager" - "windows-startup-script-ps1" - "common-psm1" - "k8s-node-setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value's size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.

↳ image_type string

The image type to use for this node. Note that for a given image type, the latest version of it will be used. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.

↳ labels array|Google\Protobuf\Internal\MapField

The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/

↳ local_ssd_count int

The number of local SSD disks to be attached to the node. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.

↳ tags array

The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.

↳ preemptible bool

Whether the nodes are created as preemptible VM instances. See: https://cloud.google.com/compute/docs/instances/preemptible for more information about preemptible VM instances.

↳ accelerators array<Google\Cloud\Container\V1\AcceleratorConfig>

A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.

↳ disk_type string

Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') If unspecified, the default disk type is 'pd-standard'

↳ min_cpu_platform string

Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more information, read how to specify min CPU platform

↳ workload_metadata_config Google\Cloud\Container\V1\WorkloadMetadataConfig

The workload metadata configuration for this node.

↳ taints array<Google\Cloud\Container\V1\NodeTaint>

List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/

↳ sandbox_config Google\Cloud\Container\V1\SandboxConfig

Sandbox configuration for this node.

↳ node_group string

Setting this field will assign instances of this pool to run on the specified node group. This is useful for running workloads on sole tenant nodes.

↳ reservation_affinity Google\Cloud\Container\V1\ReservationAffinity

The optional reservation affinity. Setting this field will apply the specified Zonal Compute Reservation to this node pool.

↳ shielded_instance_config Google\Cloud\Container\V1\ShieldedInstanceConfig

Shielded Instance options.

↳ linux_node_config Google\Cloud\Container\V1\LinuxNodeConfig

Parameters that can be configured on Linux nodes.

↳ kubelet_config Google\Cloud\Container\V1\NodeKubeletConfig

Node kubelet configs.

↳ boot_disk_kms_key string

The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption

↳ gcfs_config Google\Cloud\Container\V1\GcfsConfig

Google Container File System (image streaming) configs.

↳ advanced_machine_features Google\Cloud\Container\V1\AdvancedMachineFeatures

Advanced features for the Compute Engine VM.

↳ gvnic Google\Cloud\Container\V1\VirtualNIC

Enable or disable gvnic in the node pool.

↳ spot bool

Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible flag.

↳ confidential_nodes Google\Cloud\Container\V1\ConfidentialNodes

Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.

↳ fast_socket Google\Cloud\Container\V1\FastSocket

Enable or disable NCCL fast socket for the node pool.

↳ resource_labels array|Google\Protobuf\Internal\MapField

The resource labels for the node pool to use to annotate any related Google Compute Engine resources.

↳ logging_config Google\Cloud\Container\V1\NodePoolLoggingConfig

Logging configuration.

↳ windows_node_config Google\Cloud\Container\V1\WindowsNodeConfig

Parameters that can be configured on Windows nodes.

↳ local_nvme_ssd_block_config Google\Cloud\Container\V1\LocalNvmeSsdBlockConfig

Parameters for using raw-block Local NVMe SSDs.

↳ ephemeral_storage_local_ssd_config Google\Cloud\Container\V1\EphemeralStorageLocalSsdConfig

Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk.

↳ sole_tenant_config Google\Cloud\Container\V1\SoleTenantConfig

Parameters for node pools to be backed by shared sole tenant node groups.

getMachineType

The name of a Google Compute Engine machine type If unspecified, the default machine type is e2-medium.

Returns
TypeDescription
string

setMachineType

The name of a Google Compute Engine machine type If unspecified, the default machine type is e2-medium.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDiskSizeGb

Size of the disk attached to each node, specified in GB.

The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.

Returns
TypeDescription
int

setDiskSizeGb

Size of the disk attached to each node, specified in GB.

The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getOauthScopes

The set of Google API scopes to be made available on all of the node VMs under the "default" service account.

The following scopes are recommended, but not required, and by default are not included:

  • https://www.googleapis.com/auth/compute is required for mounting persistent storage on your nodes.
  • https://www.googleapis.com/auth/devstorage.read_only is required for communicating with gcr.io (the Google Container Registry). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setOauthScopes

The set of Google API scopes to be made available on all of the node VMs under the "default" service account.

The following scopes are recommended, but not required, and by default are not included:

  • https://www.googleapis.com/auth/compute is required for mounting persistent storage on your nodes.
  • https://www.googleapis.com/auth/devstorage.read_only is required for communicating with gcr.io (the Google Container Registry). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getServiceAccount

The Google Cloud Platform Service Account to be used by the node VMs.

Specify the email address of the Service Account; otherwise, if no Service Account is specified, the "default" service account is used.

Returns
TypeDescription
string

setServiceAccount

The Google Cloud Platform Service Account to be used by the node VMs.

Specify the email address of the Service Account; otherwise, if no Service Account is specified, the "default" service account is used.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMetadata

The metadata key/value pairs assigned to instances in the cluster.

Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the reserved keys:

  • "cluster-location"
  • "cluster-name"
  • "cluster-uid"
  • "configure-sh"
  • "containerd-configure-sh"
  • "enable-os-login"
  • "gci-ensure-gke-docker"
  • "gci-metrics-enabled"
  • "gci-update-strategy"
  • "instance-template"
  • "kube-env"
  • "startup-script"
  • "user-data"
  • "disable-address-manager"
  • "windows-startup-script-ps1"
  • "common-psm1"
  • "k8s-node-setup-psm1"
  • "install-ssh-psm1"
  • "user-profile-psm1" Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value's size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.
Returns
TypeDescription
Google\Protobuf\Internal\MapField

setMetadata

The metadata key/value pairs assigned to instances in the cluster.

Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the reserved keys:

  • "cluster-location"
  • "cluster-name"
  • "cluster-uid"
  • "configure-sh"
  • "containerd-configure-sh"
  • "enable-os-login"
  • "gci-ensure-gke-docker"
  • "gci-metrics-enabled"
  • "gci-update-strategy"
  • "instance-template"
  • "kube-env"
  • "startup-script"
  • "user-data"
  • "disable-address-manager"
  • "windows-startup-script-ps1"
  • "common-psm1"
  • "k8s-node-setup-psm1"
  • "install-ssh-psm1"
  • "user-profile-psm1" Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value's size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.
Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getImageType

The image type to use for this node. Note that for a given image type, the latest version of it will be used. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.

Returns
TypeDescription
string

setImageType

The image type to use for this node. Note that for a given image type, the latest version of it will be used. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLabels

The map of Kubernetes labels (key/value pairs) to be applied to each node.

These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

The map of Kubernetes labels (key/value pairs) to be applied to each node.

These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getLocalSsdCount

The number of local SSD disks to be attached to the node.

The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.

Returns
TypeDescription
int

setLocalSsdCount

The number of local SSD disks to be attached to the node.

The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getTags

The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTags

The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getPreemptible

Whether the nodes are created as preemptible VM instances. See: https://cloud.google.com/compute/docs/instances/preemptible for more information about preemptible VM instances.

Returns
TypeDescription
bool

setPreemptible

Whether the nodes are created as preemptible VM instances. See: https://cloud.google.com/compute/docs/instances/preemptible for more information about preemptible VM instances.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getAccelerators

A list of hardware accelerators to be attached to each node.

See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAccelerators

A list of hardware accelerators to be attached to each node.

See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.

Parameter
NameDescription
var array<Google\Cloud\Container\V1\AcceleratorConfig>
Returns
TypeDescription
$this

getDiskType

Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') If unspecified, the default disk type is 'pd-standard'

Returns
TypeDescription
string

setDiskType

Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') If unspecified, the default disk type is 'pd-standard'

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMinCpuPlatform

Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more information, read how to specify min CPU platform

Returns
TypeDescription
string

setMinCpuPlatform

Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more information, read how to specify min CPU platform

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getWorkloadMetadataConfig

The workload metadata configuration for this node.

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

hasWorkloadMetadataConfig

clearWorkloadMetadataConfig

setWorkloadMetadataConfig

The workload metadata configuration for this node.

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

getTaints

List of kubernetes taints to be applied to each node.

For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTaints

List of kubernetes taints to be applied to each node.

For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/

Parameter
NameDescription
var array<Google\Cloud\Container\V1\NodeTaint>
Returns
TypeDescription
$this

getSandboxConfig

Sandbox configuration for this node.

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

hasSandboxConfig

clearSandboxConfig

setSandboxConfig

Sandbox configuration for this node.

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

getNodeGroup

Setting this field will assign instances of this pool to run on the specified node group. This is useful for running workloads on sole tenant nodes.

Returns
TypeDescription
string

setNodeGroup

Setting this field will assign instances of this pool to run on the specified node group. This is useful for running workloads on sole tenant nodes.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getReservationAffinity

The optional reservation affinity. Setting this field will apply the specified Zonal Compute Reservation to this node pool.

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

hasReservationAffinity

clearReservationAffinity

setReservationAffinity

The optional reservation affinity. Setting this field will apply the specified Zonal Compute Reservation to this node pool.

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

getShieldedInstanceConfig

Shielded Instance options.

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

hasShieldedInstanceConfig

clearShieldedInstanceConfig

setShieldedInstanceConfig

Shielded Instance options.

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

getLinuxNodeConfig

Parameters that can be configured on Linux nodes.

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

hasLinuxNodeConfig

clearLinuxNodeConfig

setLinuxNodeConfig

Parameters that can be configured on Linux nodes.

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

getKubeletConfig

Node kubelet configs.

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

hasKubeletConfig

clearKubeletConfig

setKubeletConfig

Node kubelet configs.

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

getBootDiskKmsKey

The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME].

For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption

Returns
TypeDescription
string

setBootDiskKmsKey

The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME].

For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGcfsConfig

Google Container File System (image streaming) configs.

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

hasGcfsConfig

clearGcfsConfig

setGcfsConfig

Google Container File System (image streaming) configs.

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

getAdvancedMachineFeatures

Advanced features for the Compute Engine VM.

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

hasAdvancedMachineFeatures

clearAdvancedMachineFeatures

setAdvancedMachineFeatures

Advanced features for the Compute Engine VM.

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

getGvnic

Enable or disable gvnic in the node pool.

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

hasGvnic

clearGvnic

setGvnic

Enable or disable gvnic in the node pool.

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

getSpot

Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible flag.

Returns
TypeDescription
bool

setSpot

Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible flag.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getConfidentialNodes

Confidential nodes config.

All the nodes in the node pool will be Confidential VM once enabled.

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

hasConfidentialNodes

clearConfidentialNodes

setConfidentialNodes

Confidential nodes config.

All the nodes in the node pool will be Confidential VM once enabled.

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

getFastSocket

Enable or disable NCCL fast socket for the node pool.

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

hasFastSocket

clearFastSocket

setFastSocket

Enable or disable NCCL fast socket for the node pool.

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

getResourceLabels

The resource labels for the node pool to use to annotate any related Google Compute Engine resources.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setResourceLabels

The resource labels for the node pool to use to annotate any related Google Compute Engine resources.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getLoggingConfig

Logging configuration.

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

hasLoggingConfig

clearLoggingConfig

setLoggingConfig

Logging configuration.

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

getWindowsNodeConfig

Parameters that can be configured on Windows nodes.

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

hasWindowsNodeConfig

clearWindowsNodeConfig

setWindowsNodeConfig

Parameters that can be configured on Windows nodes.

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

getLocalNvmeSsdBlockConfig

Parameters for using raw-block Local NVMe SSDs.

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

hasLocalNvmeSsdBlockConfig

clearLocalNvmeSsdBlockConfig

setLocalNvmeSsdBlockConfig

Parameters for using raw-block Local NVMe SSDs.

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

getEphemeralStorageLocalSsdConfig

Parameters for the node ephemeral storage using Local SSDs.

If unspecified, ephemeral storage is backed by the boot disk.

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

hasEphemeralStorageLocalSsdConfig

clearEphemeralStorageLocalSsdConfig

setEphemeralStorageLocalSsdConfig

Parameters for the node ephemeral storage using Local SSDs.

If unspecified, ephemeral storage is backed by the boot disk.

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

getSoleTenantConfig

Parameters for node pools to be backed by shared sole tenant node groups.

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

hasSoleTenantConfig

clearSoleTenantConfig

setSoleTenantConfig

Parameters for node pools to be backed by shared sole tenant node groups.

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