NodePoolNodeConfig class

Constructors

NodePoolNodeConfig({Input<NodePoolNodeConfigAdvancedMachineFeatures?>? advancedMachineFeatures, Input<NodePoolNodeConfigBootDisk?>? bootDisk, Input<String?>? bootDiskKmsKey, Input<NodePoolNodeConfigConfidentialNodes?>? confidentialNodes, Input<NodePoolNodeConfigContainerdConfig?>? containerdConfig, Input<int?>? diskSizeGb, Input<String?>? diskType, Input<List<NodePoolNodeConfigEffectiveTaint>?>? effectiveTaints, Input<bool?>? enableConfidentialStorage, Input<NodePoolNodeConfigEphemeralStorageConfig?>? ephemeralStorageConfig, Input<NodePoolNodeConfigEphemeralStorageLocalSsdConfig?>? ephemeralStorageLocalSsdConfig, Input<NodePoolNodeConfigFastSocket?>? fastSocket, Input<bool?>? flexStart, Input<NodePoolNodeConfigGcfsConfig?>? gcfsConfig, Input<String?>? gpudirectStrategy, Input<List<NodePoolNodeConfigGuestAccelerator>?>? guestAccelerators, Input<NodePoolNodeConfigGvnic?>? gvnic, Input<NodePoolNodeConfigHostMaintenancePolicy?>? hostMaintenancePolicy, Input<String?>? imageType, Input<NodePoolNodeConfigKubeletConfig?>? kubeletConfig, Input<Map<String, String>?>? labels, Input<NodePoolNodeConfigLinuxNodeConfig?>? linuxNodeConfig, Input<NodePoolNodeConfigLocalNvmeSsdBlockConfig?>? localNvmeSsdBlockConfig, Input<int?>? localSsdCount, Input<String?>? localSsdEncryptionMode, Input<String?>? loggingVariant, Input<String?>? machineType, Input<String?>? maxRunDuration, Input<Map<String, String>?>? metadata, Input<String?>? minCpuPlatform, Input<String?>? nodeGroup, Input<List<NodePoolNodeConfigNodeImageConfig>?>? nodeImageConfigs, Input<List<String>?>? oauthScopes, Input<bool?>? preemptible, Input<NodePoolNodeConfigReservationAffinity?>? reservationAffinity, Input<Map<String, String>?>? resourceLabels, Input<Map<String, String>?>? resourceManagerTags, Input<NodePoolNodeConfigSandboxConfig?>? sandboxConfig, Input<List<NodePoolNodeConfigSecondaryBootDisk>?>? secondaryBootDisks, Input<String?>? serviceAccount, Input<NodePoolNodeConfigShieldedInstanceConfig?>? shieldedInstanceConfig, Input<NodePoolNodeConfigSoleTenantConfig?>? soleTenantConfig, Input<bool?>? spot, Input<List<String>?>? storagePools, Input<List<String>?>? tags, Input<NodePoolNodeConfigTaintConfig?>? taintConfig, Input<List<NodePoolNodeConfigTaint>?>? taints, Input<NodePoolNodeConfigWindowsNodeConfig?>? windowsNodeConfig, Input<NodePoolNodeConfigWorkloadMetadataConfig?>? workloadMetadataConfig})
Creates a new NodePoolNodeConfig. advancedMachineFeatures Specifies options for controlling advanced machine features. bootDisk Boot disk configuration for node pools nodes. bootDiskKmsKey The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. confidentialNodes Configuration for the confidential nodes feature, which makes nodes run on confidential VMs. containerdConfig Parameters for containerd configuration. diskSizeGb Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. diskType Type of the disk attached to each node. Such as pd-standard, pd-balanced or pd-ssd effectiveTaints List of kubernetes taints applied to each node. enableConfidentialStorage If enabled boot disks are configured with confidential mode. ephemeralStorageConfig Parameters for the ephemeral storage filesystem. If unspecified, ephemeral storage is backed by the boot disk. ephemeralStorageLocalSsdConfig Parameters for the ephemeral storage filesystem. If unspecified, ephemeral storage is backed by the boot disk. fastSocket Enable or disable NCCL Fast Socket in the node pool. flexStart Enables Flex Start provisioning model for the node pool gcfsConfig GCFS configuration for this node. gpudirectStrategy The type of GPUDirect strategy to enable on the node. guestAccelerators List of the type and count of accelerator cards attached to the instance. gvnic Enable or disable gvnic in the node pool. hostMaintenancePolicy The maintenance policy for the hosts on which the GKE VMs run on. imageType The image type to use for this node. Note that for a given image type, the latest version of it will be used. kubeletConfig Node kubelet configs. Structure is documented below. labels 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. linuxNodeConfig Parameters that can be configured on Linux nodes. localNvmeSsdBlockConfig Parameters for raw-block local NVMe SSDs. localSsdCount The number of local SSD disks to be attached to the node. localSsdEncryptionMode LocalSsdEncryptionMode specified the method used for encrypting the local SSDs attached to the node. loggingVariant Type of logging agent that is used as the default value for node pools in the cluster. Valid values include DEFAULT and MAX_THROUGHPUT. machineType The name of a Google Compute Engine machine type. maxRunDuration The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s". metadata The metadata key/value pairs assigned to instances in the cluster. minCpuPlatform Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. nodeGroup 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. nodeImageConfigs The node image configuration to use for this node pool. oauthScopes The set of Google API scopes to be made available on all of the node VMs. preemptible Whether the nodes are created as preemptible VM instances. reservationAffinity The reservation affinity configuration for the node pool. resourceLabels The GCE resource labels (a map of key/value pairs) to be applied to the node pool. resourceManagerTags A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty. sandboxConfig Sandbox configuration for this node. secondaryBootDisks Secondary boot disks for preloading data or container images. serviceAccount The Google Cloud Platform Service Account to be used by the node VMs. shieldedInstanceConfig Shielded Instance options. soleTenantConfig Node affinity options for sole tenant node pools. spot Whether the nodes are created as spot VM instances. storagePools The list of Storage Pools where boot disks are provisioned. tags The list of instance tags applied to all nodes. taintConfig Taint configuration for the node pool. Structure is documented below. taints List of Kubernetes taints to be applied to each node. windowsNodeConfig Parameters that can be configured on Windows nodes. workloadMetadataConfig The workload metadata configuration for this node.
const
NodePoolNodeConfig.fromMap(Map<String, dynamic> map)
factory

Properties

advancedMachineFeatures → Input<NodePoolNodeConfigAdvancedMachineFeatures?>?
Specifies options for controlling advanced machine features.
final
bootDisk → Input<NodePoolNodeConfigBootDisk?>?
Boot disk configuration for node pools nodes.
final
bootDiskKmsKey → Input<String?>?
The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool.
final
confidentialNodes → Input<NodePoolNodeConfigConfidentialNodes?>?
Configuration for the confidential nodes feature, which makes nodes run on confidential VMs.
final
containerdConfig → Input<NodePoolNodeConfigContainerdConfig?>?
Parameters for containerd configuration.
final
diskSizeGb → Input<int?>?
Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB.
final
diskType → Input<String?>?
Type of the disk attached to each node. Such as pd-standard, pd-balanced or pd-ssd
final
effectiveTaints → Input<List<NodePoolNodeConfigEffectiveTaint>?>?
List of kubernetes taints applied to each node.
final
enableConfidentialStorage → Input<bool?>?
If enabled boot disks are configured with confidential mode.
final
ephemeralStorageConfig → Input<NodePoolNodeConfigEphemeralStorageConfig?>?
Parameters for the ephemeral storage filesystem. If unspecified, ephemeral storage is backed by the boot disk.
final
ephemeralStorageLocalSsdConfig → Input<NodePoolNodeConfigEphemeralStorageLocalSsdConfig?>?
Parameters for the ephemeral storage filesystem. If unspecified, ephemeral storage is backed by the boot disk.
final
fastSocket → Input<NodePoolNodeConfigFastSocket?>?
Enable or disable NCCL Fast Socket in the node pool.
final
flexStart → Input<bool?>?
Enables Flex Start provisioning model for the node pool
final
gcfsConfig → Input<NodePoolNodeConfigGcfsConfig?>?
GCFS configuration for this node.
final
gpudirectStrategy → Input<String?>?
The type of GPUDirect strategy to enable on the node.
final
guestAccelerators → Input<List<NodePoolNodeConfigGuestAccelerator>?>?
List of the type and count of accelerator cards attached to the instance.
final
gvnic → Input<NodePoolNodeConfigGvnic?>?
Enable or disable gvnic in the node pool.
final
hashCode → int
The hash code for this object.
no setterinherited
hostMaintenancePolicy → Input<NodePoolNodeConfigHostMaintenancePolicy?>?
The maintenance policy for the hosts on which the GKE VMs run on.
final
imageType → Input<String?>?
The image type to use for this node. Note that for a given image type, the latest version of it will be used.
final
kubeletConfig → Input<NodePoolNodeConfigKubeletConfig?>?
Node kubelet configs. Structure is documented below.
final
labels → Input<Map<String, String>?>?
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.
final
linuxNodeConfig → Input<NodePoolNodeConfigLinuxNodeConfig?>?
Parameters that can be configured on Linux nodes.
final
localNvmeSsdBlockConfig → Input<NodePoolNodeConfigLocalNvmeSsdBlockConfig?>?
Parameters for raw-block local NVMe SSDs.
final
localSsdCount → Input<int?>?
The number of local SSD disks to be attached to the node.
final
localSsdEncryptionMode → Input<String?>?
LocalSsdEncryptionMode specified the method used for encrypting the local SSDs attached to the node.
final
loggingVariant → Input<String?>?
Type of logging agent that is used as the default value for node pools in the cluster. Valid values include DEFAULT and MAX_THROUGHPUT.
final
machineType → Input<String?>?
The name of a Google Compute Engine machine type.
final
maxRunDuration → Input<String?>?
The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s".
final
metadata → Input<Map<String, String>?>?
The metadata key/value pairs assigned to instances in the cluster.
final
minCpuPlatform → Input<String?>?
Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform.
final
nodeGroup → Input<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.
final
nodeImageConfigs → Input<List<NodePoolNodeConfigNodeImageConfig>?>?
The node image configuration to use for this node pool.
final
oauthScopes → Input<List<String>?>?
The set of Google API scopes to be made available on all of the node VMs.
final
preemptible → Input<bool?>?
Whether the nodes are created as preemptible VM instances.
final
reservationAffinity → Input<NodePoolNodeConfigReservationAffinity?>?
The reservation affinity configuration for the node pool.
final
resourceLabels → Input<Map<String, String>?>?
The GCE resource labels (a map of key/value pairs) to be applied to the node pool.
final
resourceManagerTags → Input<Map<String, String>?>?
A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sandboxConfig → Input<NodePoolNodeConfigSandboxConfig?>?
Sandbox configuration for this node.
final
secondaryBootDisks → Input<List<NodePoolNodeConfigSecondaryBootDisk>?>?
Secondary boot disks for preloading data or container images.
final
serviceAccount → Input<String?>?
The Google Cloud Platform Service Account to be used by the node VMs.
final
shieldedInstanceConfig → Input<NodePoolNodeConfigShieldedInstanceConfig?>?
Shielded Instance options.
final
soleTenantConfig → Input<NodePoolNodeConfigSoleTenantConfig?>?
Node affinity options for sole tenant node pools.
final
spot → Input<bool?>?
Whether the nodes are created as spot VM instances.
final
storagePools → Input<List<String>?>?
The list of Storage Pools where boot disks are provisioned.
final
tags → Input<List<String>?>?
The list of instance tags applied to all nodes.
final
taintConfig → Input<NodePoolNodeConfigTaintConfig?>?
Taint configuration for the node pool. Structure is documented below.
final
taints → Input<List<NodePoolNodeConfigTaint>?>?
List of Kubernetes taints to be applied to each node.
final
windowsNodeConfig → Input<NodePoolNodeConfigWindowsNodeConfig?>?
Parameters that can be configured on Windows nodes.
final
workloadMetadataConfig → Input<NodePoolNodeConfigWorkloadMetadataConfig?>?
The workload metadata configuration for this node.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited