Google Cloud Dataproc v1 API - Class GkeNodePoolConfig.Types.GkeNodeConfig (5.11.0)

public sealed class GkeNodePoolConfig.Types.GkeNodeConfig : IMessage<GkeNodePoolConfig.Types.GkeNodeConfig>, IEquatable<GkeNodePoolConfig.Types.GkeNodeConfig>, IDeepCloneable<GkeNodePoolConfig.Types.GkeNodeConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dataproc v1 API class GkeNodePoolConfig.Types.GkeNodeConfig.

Parameters that describe cluster nodes.

Inheritance

object > GkeNodePoolConfig.Types.GkeNodeConfig

Namespace

Google.Cloud.Dataproc.V1

Assembly

Google.Cloud.Dataproc.V1.dll

Constructors

GkeNodeConfig()

public GkeNodeConfig()

GkeNodeConfig(GkeNodeConfig)

public GkeNodeConfig(GkeNodePoolConfig.Types.GkeNodeConfig other)
Parameter
Name Description
other GkeNodePoolConfigTypesGkeNodeConfig

Properties

Accelerators

public RepeatedField<GkeNodePoolConfig.Types.GkeNodePoolAcceleratorConfig> Accelerators { get; }

Optional. A list of hardware accelerators to attach to each node.

Property Value
Type Description
RepeatedFieldGkeNodePoolConfigTypesGkeNodePoolAcceleratorConfig

BootDiskKmsKey

public string BootDiskKmsKey { get; set; }

Optional. The Customer Managed Encryption Key (CMEK) used to encrypt the boot disk attached to each node in the node pool. Specify the key using the following format: <code>projects/<var>KEY_PROJECT_ID</var>/locations/<var>LOCATION</var>/keyRings/<var>RING_NAME</var>/cryptoKeys/<var>KEY_NAME</var></code>.

Property Value
Type Description
string

LocalSsdCount

public int LocalSsdCount { get; set; }

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).

Property Value
Type Description
int

MachineType

public string MachineType { get; set; }

Optional. The name of a Compute Engine machine type.

Property Value
Type Description
string

MinCpuPlatform

public string MinCpuPlatform { get; set; }

Optional. Minimum 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".

Property Value
Type Description
string

Preemptible

public bool Preemptible { get; set; }

Optional. Whether the nodes are created as legacy preemptible VM instances. Also see [Spot][google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig.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).

Property Value
Type Description
bool

Spot

public bool Spot { get; set; }

Optional. Whether the nodes are created as Spot VM instances. Spot VMs are the latest update to legacy [preemptible VMs][google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig.preemptible]. 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).

Property Value
Type Description
bool