Show / Hide Table of Contents

Class ClusterNodePoolNodeConfig

Inheritance
System.Object
ClusterNodePoolNodeConfig
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Container.Outputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class ClusterNodePoolNodeConfig

Fields

View Source

BootDiskKmsKey

The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption

Declaration
public readonly string BootDiskKmsKey
Field Value
Type Description
System.String
View Source

DiskSizeGb

Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. Defaults to 100GB.

Declaration
public readonly int? DiskSizeGb
Field Value
Type Description
System.Nullable<System.Int32>
View Source

DiskType

Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd'). If unspecified, the default disk type is 'pd-standard'

Declaration
public readonly string DiskType
Field Value
Type Description
System.String
View Source

GuestAccelerators

List of the type and count of accelerator cards attached to the instance. Structure documented below.

Declaration
public readonly ImmutableArray<ClusterNodePoolNodeConfigGuestAccelerator> GuestAccelerators
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<ClusterNodePoolNodeConfigGuestAccelerator>
View Source

ImageType

The image type to use for this node. Note that changing the image type will delete and recreate all nodes in the node pool.

Declaration
public readonly string ImageType
Field Value
Type Description
System.String
View Source

Labels

The Kubernetes labels (key/value pairs) to be applied to each node.

Declaration
public readonly ImmutableDictionary<string, string> Labels
Field Value
Type Description
System.Collections.Immutable.ImmutableDictionary<System.String, System.String>
View Source

LocalSsdCount

The amount of local SSD disks that will be attached to each cluster node. Defaults to 0.

Declaration
public readonly int? LocalSsdCount
Field Value
Type Description
System.Nullable<System.Int32>
View Source

MachineType

The name of a Google Compute Engine machine type. Defaults to n1-standard-1. To create a custom machine type, value should be set as specified here.

Declaration
public readonly string MachineType
Field Value
Type Description
System.String
View Source

Metadata

The metadata key/value pairs assigned to instances in the cluster. From GKE 1.12 onwards, disable-legacy-endpoints is set to true by the API; if metadata is set but that default value is not included, the provider will attempt to unset the value. To avoid this, set the value in your config.

Declaration
public readonly ImmutableDictionary<string, string> Metadata
Field Value
Type Description
System.Collections.Immutable.ImmutableDictionary<System.String, System.String>
View Source

MinCpuPlatform

Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as Intel Haswell. See the official documentation for more information.

Declaration
public readonly string MinCpuPlatform
Field Value
Type Description
System.String
View Source

OauthScopes

The set of Google API scopes to be made available on all of the node VMs under the "default" service account. These can be either FQDNs, or scope aliases. The following scopes are necessary to ensure the correct functioning of the cluster:

Declaration
public readonly ImmutableArray<string> OauthScopes
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<System.String>
View Source

Preemptible

A boolean that represents whether or not the underlying node VMs are preemptible. See the official documentation for more information. Defaults to false.

Declaration
public readonly bool? Preemptible
Field Value
Type Description
System.Nullable<System.Boolean>
View Source

SandboxConfig

GKE Sandbox configuration. When enabling this feature you must specify image_type = &quot;COS_CONTAINERD&quot; and node_version = &quot;1.12.7-gke.17&quot; or later to use it. Structure is documented below.

Declaration
public readonly ClusterNodePoolNodeConfigSandboxConfig SandboxConfig
Field Value
Type Description
ClusterNodePoolNodeConfigSandboxConfig
View Source

ServiceAccount

The service account to be used by the Node VMs. If not specified, the "default" service account is used. In order to use the configured oauth_scopes for logging and monitoring, the service account being used needs the roles/logging.logWriter and roles/monitoring.metricWriter roles.

Declaration
public readonly string ServiceAccount
Field Value
Type Description
System.String
View Source

ShieldedInstanceConfig

Shielded Instance options. Structure is documented below.

Declaration
public readonly ClusterNodePoolNodeConfigShieldedInstanceConfig ShieldedInstanceConfig
Field Value
Type Description
ClusterNodePoolNodeConfigShieldedInstanceConfig
View Source

Tags

The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls.

Declaration
public readonly ImmutableArray<string> Tags
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<System.String>
View Source

Taints

A list of Kubernetes taints to apply to nodes. GKE's API can only set this field on cluster creation. However, GKE will add taints to your nodes if you enable certain features such as GPUs. If this field is set, any diffs on this field will cause the provider to recreate the underlying resource. Taint values can be updated safely in Kubernetes (eg. through kubectl), and it's recommended that you do not use this field to manage taints. If you do, lifecycle.ignore_changes is recommended. Structure is documented below.

Declaration
public readonly ImmutableArray<ClusterNodePoolNodeConfigTaint> Taints
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<ClusterNodePoolNodeConfigTaint>
View Source

WorkloadMetadataConfig

Metadata configuration to expose to workloads on the node pool. Structure is documented below.

Declaration
public readonly ClusterNodePoolNodeConfigWorkloadMetadataConfig WorkloadMetadataConfig
Field Value
Type Description
ClusterNodePoolNodeConfigWorkloadMetadataConfig
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.