Class ClusterNodePoolNodeConfig
Inheritance
Inherited Members
Namespace: Pulumi.Gcp.Container.Outputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class ClusterNodePoolNodeConfig
Fields
View SourceBootDiskKmsKey
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 |
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> |
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 |
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> |
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 |
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> |
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> |
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 |
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> |
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 |
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> |
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> |
SandboxConfig
GKE Sandbox configuration. When enabling this feature you must specify image_type = "COS_CONTAINERD" and node_version = "1.12.7-gke.17" or later to use it.
Structure is documented below.
Declaration
public readonly ClusterNodePoolNodeConfigSandboxConfig SandboxConfig
Field Value
| Type | Description |
|---|---|
| ClusterNodePoolNodeConfigSandboxConfig |
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 |
ShieldedInstanceConfig
Shielded Instance options. Structure is documented below.
Declaration
public readonly ClusterNodePoolNodeConfigShieldedInstanceConfig ShieldedInstanceConfig
Field Value
| Type | Description |
|---|---|
| ClusterNodePoolNodeConfigShieldedInstanceConfig |
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> |
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> |
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 |