NodePoolNodeConfig constructor

const NodePoolNodeConfig({
  1. Input<NodePoolNodeConfigAdvancedMachineFeatures?>? advancedMachineFeatures,
  2. Input<NodePoolNodeConfigBootDisk?>? bootDisk,
  3. Input<String?>? bootDiskKmsKey,
  4. Input<NodePoolNodeConfigConfidentialNodes?>? confidentialNodes,
  5. Input<NodePoolNodeConfigContainerdConfig?>? containerdConfig,
  6. Input<int?>? diskSizeGb,
  7. Input<String?>? diskType,
  8. Input<List<NodePoolNodeConfigEffectiveTaint>?>? effectiveTaints,
  9. Input<bool?>? enableConfidentialStorage,
  10. Input<NodePoolNodeConfigEphemeralStorageConfig?>? ephemeralStorageConfig,
  11. Input<NodePoolNodeConfigEphemeralStorageLocalSsdConfig?>? ephemeralStorageLocalSsdConfig,
  12. Input<NodePoolNodeConfigFastSocket?>? fastSocket,
  13. Input<bool?>? flexStart,
  14. Input<NodePoolNodeConfigGcfsConfig?>? gcfsConfig,
  15. Input<String?>? gpudirectStrategy,
  16. Input<List<NodePoolNodeConfigGuestAccelerator>?>? guestAccelerators,
  17. Input<NodePoolNodeConfigGvnic?>? gvnic,
  18. Input<NodePoolNodeConfigHostMaintenancePolicy?>? hostMaintenancePolicy,
  19. Input<String?>? imageType,
  20. Input<NodePoolNodeConfigKubeletConfig?>? kubeletConfig,
  21. Input<Map<String, String>?>? labels,
  22. Input<NodePoolNodeConfigLinuxNodeConfig?>? linuxNodeConfig,
  23. Input<NodePoolNodeConfigLocalNvmeSsdBlockConfig?>? localNvmeSsdBlockConfig,
  24. Input<int?>? localSsdCount,
  25. Input<String?>? localSsdEncryptionMode,
  26. Input<String?>? loggingVariant,
  27. Input<String?>? machineType,
  28. Input<String?>? maxRunDuration,
  29. Input<Map<String, String>?>? metadata,
  30. Input<String?>? minCpuPlatform,
  31. Input<String?>? nodeGroup,
  32. Input<List<NodePoolNodeConfigNodeImageConfig>?>? nodeImageConfigs,
  33. Input<List<String>?>? oauthScopes,
  34. Input<bool?>? preemptible,
  35. Input<NodePoolNodeConfigReservationAffinity?>? reservationAffinity,
  36. Input<Map<String, String>?>? resourceLabels,
  37. Input<Map<String, String>?>? resourceManagerTags,
  38. Input<NodePoolNodeConfigSandboxConfig?>? sandboxConfig,
  39. Input<List<NodePoolNodeConfigSecondaryBootDisk>?>? secondaryBootDisks,
  40. Input<String?>? serviceAccount,
  41. Input<NodePoolNodeConfigShieldedInstanceConfig?>? shieldedInstanceConfig,
  42. Input<NodePoolNodeConfigSoleTenantConfig?>? soleTenantConfig,
  43. Input<bool?>? spot,
  44. Input<List<String>?>? storagePools,
  45. Input<List<String>?>? tags,
  46. Input<NodePoolNodeConfigTaintConfig?>? taintConfig,
  47. Input<List<NodePoolNodeConfigTaint>?>? taints,
  48. Input<NodePoolNodeConfigWindowsNodeConfig?>? windowsNodeConfig,
  49. 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.

Implementation

const NodePoolNodeConfig({
  this.advancedMachineFeatures,
  this.bootDisk,
  this.bootDiskKmsKey,
  this.confidentialNodes,
  this.containerdConfig,
  this.diskSizeGb,
  this.diskType,
  this.effectiveTaints,
  this.enableConfidentialStorage,
  this.ephemeralStorageConfig,
  this.ephemeralStorageLocalSsdConfig,
  this.fastSocket,
  this.flexStart,
  this.gcfsConfig,
  this.gpudirectStrategy,
  this.guestAccelerators,
  this.gvnic,
  this.hostMaintenancePolicy,
  this.imageType,
  this.kubeletConfig,
  this.labels,
  this.linuxNodeConfig,
  this.localNvmeSsdBlockConfig,
  this.localSsdCount,
  this.localSsdEncryptionMode,
  this.loggingVariant,
  this.machineType,
  this.maxRunDuration,
  this.metadata,
  this.minCpuPlatform,
  this.nodeGroup,
  this.nodeImageConfigs,
  this.oauthScopes,
  this.preemptible,
  this.reservationAffinity,
  this.resourceLabels,
  this.resourceManagerTags,
  this.sandboxConfig,
  this.secondaryBootDisks,
  this.serviceAccount,
  this.shieldedInstanceConfig,
  this.soleTenantConfig,
  this.spot,
  this.storagePools,
  this.tags,
  this.taintConfig,
  this.taints,
  this.windowsNodeConfig,
  this.workloadMetadataConfig,
});