View Source GoogleApi.Dataproc.V1.Model.GkeNodeConfig (google_api_dataproc v0.56.0)

Parameters that describe cluster nodes.

Attributes

  • accelerators (type: list(GoogleApi.Dataproc.V1.Model.GkeNodePoolAcceleratorConfig.t), default: nil) - Optional. A list of hardware accelerators (https://cloud.google.com/compute/docs/gpus) to attach to each node.
  • bootDiskKmsKey (type: String.t, default: nil) - 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}
  • localSsdCount (type: integer(), default: nil) - 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)).
  • machineType (type: String.t, default: nil) - Optional. The name of a Compute Engine machine type (https://cloud.google.com/compute/docs/machine-types).
  • minCpuPlatform (type: String.t, default: nil) - 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". *preemptible(*type:*boolean(), *default:*nil) - 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). *spot(*type:*boolean(), *default:*nil`) - 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).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Dataproc.V1.Model.GkeNodeConfig{
  accelerators:
    [GoogleApi.Dataproc.V1.Model.GkeNodePoolAcceleratorConfig.t()] | nil,
  bootDiskKmsKey: String.t() | nil,
  localSsdCount: integer() | nil,
  machineType: String.t() | nil,
  minCpuPlatform: String.t() | nil,
  preemptible: boolean() | nil,
  spot: boolean() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.