GetClusterNodeConfig constructor
- required Input<
List< advancedMachineFeatures,GetClusterNodeConfigAdvancedMachineFeature> > - required Input<
String> bootDiskKmsKey, - required Input<
List< bootDisks,GetClusterNodeConfigBootDisk> > - required Input<
List< confidentialNodes,GetClusterNodeConfigConfidentialNode> > - required Input<
List< containerdConfigs,GetClusterNodeConfigContainerdConfig> > - required Input<
int> diskSizeGb, - required Input<
String> diskType, - required Input<
List< effectiveTaints,GetClusterNodeConfigEffectiveTaint> > - required Input<
bool> enableConfidentialStorage, - required Input<
List< ephemeralStorageConfigs,GetClusterNodeConfigEphemeralStorageConfig> > - required Input<
List< ephemeralStorageLocalSsdConfigs,GetClusterNodeConfigEphemeralStorageLocalSsdConfig> > - required Input<
List< fastSockets,GetClusterNodeConfigFastSocket> > - required Input<
bool> flexStart, - required Input<
List< gcfsConfigs,GetClusterNodeConfigGcfsConfig> > - required Input<
String> gpudirectStrategy, - required Input<
List< guestAccelerators,GetClusterNodeConfigGuestAccelerator> > - required Input<
List< gvnics,GetClusterNodeConfigGvnic> > - required Input<
List< hostMaintenancePolicies,GetClusterNodeConfigHostMaintenancePolicy> > - required Input<
String> imageType, - required Input<
List< kubeletConfigs,GetClusterNodeConfigKubeletConfig> > - required Input<
Map< labels,String, String> > - required Input<
List< linuxNodeConfigs,GetClusterNodeConfigLinuxNodeConfig> > - required Input<
List< localNvmeSsdBlockConfigs,GetClusterNodeConfigLocalNvmeSsdBlockConfig> > - required Input<
int> localSsdCount, - required Input<
String> localSsdEncryptionMode, - required Input<
String> loggingVariant, - required Input<
String> machineType, - required Input<
String> maxRunDuration, - required Input<
Map< metadata,String, String> > - required Input<
String> minCpuPlatform, - required Input<
String> nodeGroup, - required Input<
List< nodeImageConfigs,GetClusterNodeConfigNodeImageConfig> > - required Input<
List< oauthScopes,String> > - required Input<
bool> preemptible, - required Input<
List< reservationAffinities,GetClusterNodeConfigReservationAffinity> > - required Input<
Map< resourceLabels,String, String> > - required Input<
Map< resourceManagerTags,String, String> > - required Input<
List< sandboxConfigs,GetClusterNodeConfigSandboxConfig> > - required Input<
List< secondaryBootDisks,GetClusterNodeConfigSecondaryBootDisk> > - required Input<
String> serviceAccount, - required Input<
List< shieldedInstanceConfigs,GetClusterNodeConfigShieldedInstanceConfig> > - required Input<
List< soleTenantConfigs,GetClusterNodeConfigSoleTenantConfig> > - required Input<
bool> spot, - required Input<
List< storagePools,String> > - required Input<
List< tags,String> > - required Input<
List< taintConfigs,GetClusterNodeConfigTaintConfig> > - required Input<
List< taints,GetClusterNodeConfigTaint> > - required Input<
List< windowsNodeConfigs,GetClusterNodeConfigWindowsNodeConfig> > - required Input<
List< workloadMetadataConfigs,GetClusterNodeConfigWorkloadMetadataConfig> >
Creates a new GetClusterNodeConfig.
advancedMachineFeatures Specifies options for controlling advanced machine features.
bootDiskKmsKey The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool.
bootDisks Boot disk configuration for node pools nodes.
confidentialNodes Configuration for the confidential nodes feature, which makes nodes run on confidential VMs.
containerdConfigs 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.
ephemeralStorageConfigs Parameters for the ephemeral storage filesystem. If unspecified, ephemeral storage is backed by the boot disk.
ephemeralStorageLocalSsdConfigs Parameters for the ephemeral storage filesystem. If unspecified, ephemeral storage is backed by the boot disk.
fastSockets Enable or disable NCCL Fast Socket in the node pool.
flexStart Enables Flex Start provisioning model for the node pool
gcfsConfigs 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.
gvnics Enable or disable gvnic in the node pool.
hostMaintenancePolicies 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.
kubeletConfigs Node kubelet configs.
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.
linuxNodeConfigs Parameters that can be configured on Linux nodes.
localNvmeSsdBlockConfigs 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.
reservationAffinities 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.
sandboxConfigs 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.
shieldedInstanceConfigs Shielded Instance options.
soleTenantConfigs 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.
taintConfigs Taint configuration for this node.
taints List of Kubernetes taints to be applied to each node.
windowsNodeConfigs Parameters that can be configured on Windows nodes.
workloadMetadataConfigs The workload metadata configuration for this node.
Implementation
const GetClusterNodeConfig({
required this.advancedMachineFeatures,
required this.bootDiskKmsKey,
required this.bootDisks,
required this.confidentialNodes,
required this.containerdConfigs,
required this.diskSizeGb,
required this.diskType,
required this.effectiveTaints,
required this.enableConfidentialStorage,
required this.ephemeralStorageConfigs,
required this.ephemeralStorageLocalSsdConfigs,
required this.fastSockets,
required this.flexStart,
required this.gcfsConfigs,
required this.gpudirectStrategy,
required this.guestAccelerators,
required this.gvnics,
required this.hostMaintenancePolicies,
required this.imageType,
required this.kubeletConfigs,
required this.labels,
required this.linuxNodeConfigs,
required this.localNvmeSsdBlockConfigs,
required this.localSsdCount,
required this.localSsdEncryptionMode,
required this.loggingVariant,
required this.machineType,
required this.maxRunDuration,
required this.metadata,
required this.minCpuPlatform,
required this.nodeGroup,
required this.nodeImageConfigs,
required this.oauthScopes,
required this.preemptible,
required this.reservationAffinities,
required this.resourceLabels,
required this.resourceManagerTags,
required this.sandboxConfigs,
required this.secondaryBootDisks,
required this.serviceAccount,
required this.shieldedInstanceConfigs,
required this.soleTenantConfigs,
required this.spot,
required this.storagePools,
required this.tags,
required this.taintConfigs,
required this.taints,
required this.windowsNodeConfigs,
required this.workloadMetadataConfigs,
});