GkeNodeConfigArgs

data class GkeNodeConfigArgs(val accelerators: Output<List<GkeNodePoolAcceleratorConfigArgs>>? = null, val bootDiskKmsKey: Output<String>? = null, val localSsdCount: Output<Int>? = null, val machineType: Output<String>? = null, val minCpuPlatform: Output<String>? = null, val preemptible: Output<Boolean>? = null, val spot: Output<Boolean>? = null) : ConvertibleToJava<GkeNodeConfigArgs>

Parameters that describe cluster nodes.

Constructors

Link copied to clipboard
fun GkeNodeConfigArgs(accelerators: Output<List<GkeNodePoolAcceleratorConfigArgs>>? = null, bootDiskKmsKey: Output<String>? = null, localSsdCount: Output<Int>? = null, machineType: Output<String>? = null, minCpuPlatform: Output<String>? = null, preemptible: Output<Boolean>? = null, spot: Output<Boolean>? = null)

Functions

Link copied to clipboard
open override fun toJava(): GkeNodeConfigArgs

Properties

Link copied to clipboard

Optional. A list of hardware accelerators (https://cloud.google.com/compute/docs/gpus) to attach to each node.

Link copied to clipboard
val bootDiskKmsKey: Output<String>? = null

Optional. The Customer Managed Encryption Key (CMEK) (https://cloud.google.com/kubernetes-engine/docs/how-to/using-cmek) used to encrypt the boot disk attached to each node in the node pool. Specify the key using the following format: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}

Link copied to clipboard
val localSsdCount: Output<Int>? = null

Optional. The number of local SSD disks to attach to the node, which is limited by the maximum number of disks allowable per zone (see Adding Local SSDs (https://cloud.google.com/compute/docs/disks/local-ssd)).

Link copied to clipboard
val machineType: Output<String>? = null

Optional. The name of a Compute Engine machine type (https://cloud.google.com/compute/docs/machine-types).

Link copied to clipboard
val minCpuPlatform: Output<String>? = null

Optional. Minimum CPU platform (https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) to be used by this instance. The instance may be scheduled on the specified or a newer CPU platform. Specify the friendly names of CPU platforms, such as "Intel Haswell"` or Intel Sandy Bridge".

Link copied to clipboard
val preemptible: Output<Boolean>? = null

Optional. Whether the nodes are created as legacy preemptible VM instances (https://cloud.google.com/compute/docs/instances/preemptible). Also see Spot VMs, preemptible VM instances without a maximum lifetime. Legacy and Spot preemptible nodes cannot be used in a node pool with the CONTROLLER role or in the DEFAULT node pool if the CONTROLLER role is not assigned (the DEFAULT node pool will assume the CONTROLLER role).

Link copied to clipboard
val spot: Output<Boolean>? = null

Optional. Whether the nodes are created as Spot VM instances (https://cloud.google.com/compute/docs/instances/spot). Spot VMs are the latest update to legacy preemptible VMs. Spot VMs do not have a maximum lifetime. Legacy and Spot preemptible nodes cannot be used in a node pool with the CONTROLLER role or in the DEFAULT node pool if the CONTROLLER role is not assigned (the DEFAULT node pool will assume the CONTROLLER role).