NodePool

Manages a node pool in a Google Kubernetes Engine (GKE) cluster separately from the cluster control plane. For more information see the official documentation and the API reference.

Create a NodePool Resource

def NodePool(resource_name, opts=None, autoscaling=None, cluster=None, initial_node_count=None, location=None, management=None, max_pods_per_node=None, name=None, name_prefix=None, node_config=None, node_count=None, node_locations=None, project=None, upgrade_settings=None, version=None, __props__=None);
func NewNodePool(ctx *Context, name string, args NodePoolArgs, opts ...ResourceOption) (*NodePool, error)
public NodePool(string name, NodePoolArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args NodePoolArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args NodePoolArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args NodePoolArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

NodePool Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The NodePool resource accepts the following input properties:

Cluster string

The cluster to create the node pool for. Cluster must be present in location provided for zonal clusters.

Autoscaling NodePoolAutoscalingArgs

Configuration required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. Structure is documented below.

InitialNodeCount int

The initial number of nodes for the pool. In regional or multi-zonal clusters, this is the number of nodes per zone. Changing this will force recreation of the resource.

Location string

The location (region or zone) of the cluster.

Management NodePoolManagementArgs

Node management configuration, wherein auto-repair and auto-upgrade is configured. Structure is documented below.

MaxPodsPerNode int

The maximum number of pods per node in this node pool. Note that this does not work on node pools which are “route-based” - that is, node pools belonging to clusters that do not have IP Aliasing enabled. See the official documentation for more information.

Name string

The name of the node pool. If left blank, the provider will auto-generate a unique name.

NamePrefix string

Creates a unique name for the node pool beginning with the specified prefix. Conflicts with name.

NodeConfig NodePoolNodeConfigArgs

The node configuration of the pool. See gcp.container.Cluster for schema.

NodeCount int

The number of nodes per instance group. This field can be used to update the number of nodes per instance group but should not be used alongside autoscaling.

NodeLocations List<string>

The list of zones in which the node pool’s nodes should be located. Nodes must be in the region of their regional cluster or in the same region as their cluster’s zone for zonal clusters. If unspecified, the cluster-level node_locations will be used.

Project string

The ID of the project in which to create the node pool. If blank, the provider-configured project will be used.

UpgradeSettings NodePoolUpgradeSettingsArgs

Specify node upgrade settings to change how many nodes GKE attempts to upgrade at once. The number of nodes upgraded simultaneously is the sum of max_surge and max_unavailable. The maximum number of nodes upgraded simultaneously is limited to 20.

Version string

The Kubernetes version for the nodes in this pool. Note that if this field and auto_upgrade are both specified, they will fight each other for what the node version should be, so setting both is highly discouraged. While a fuzzy version can be specified, it’s recommended that you specify explicit versions as the provider will see spurious diffs when fuzzy versions are used. See the gcp.container.getEngineVersions data source’s version_prefix field to approximate fuzzy versions in a provider-compatible way.

Cluster string

The cluster to create the node pool for. Cluster must be present in location provided for zonal clusters.

Autoscaling NodePoolAutoscaling

Configuration required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. Structure is documented below.

InitialNodeCount int

The initial number of nodes for the pool. In regional or multi-zonal clusters, this is the number of nodes per zone. Changing this will force recreation of the resource.

Location string

The location (region or zone) of the cluster.

Management NodePoolManagement

Node management configuration, wherein auto-repair and auto-upgrade is configured. Structure is documented below.

MaxPodsPerNode int

The maximum number of pods per node in this node pool. Note that this does not work on node pools which are “route-based” - that is, node pools belonging to clusters that do not have IP Aliasing enabled. See the official documentation for more information.

Name string

The name of the node pool. If left blank, the provider will auto-generate a unique name.

NamePrefix string

Creates a unique name for the node pool beginning with the specified prefix. Conflicts with name.

NodeConfig NodePoolNodeConfig

The node configuration of the pool. See gcp.container.Cluster for schema.

NodeCount int

The number of nodes per instance group. This field can be used to update the number of nodes per instance group but should not be used alongside autoscaling.

NodeLocations []string

The list of zones in which the node pool’s nodes should be located. Nodes must be in the region of their regional cluster or in the same region as their cluster’s zone for zonal clusters. If unspecified, the cluster-level node_locations will be used.

Project string

The ID of the project in which to create the node pool. If blank, the provider-configured project will be used.

UpgradeSettings NodePoolUpgradeSettings

Specify node upgrade settings to change how many nodes GKE attempts to upgrade at once. The number of nodes upgraded simultaneously is the sum of max_surge and max_unavailable. The maximum number of nodes upgraded simultaneously is limited to 20.

Version string

The Kubernetes version for the nodes in this pool. Note that if this field and auto_upgrade are both specified, they will fight each other for what the node version should be, so setting both is highly discouraged. While a fuzzy version can be specified, it’s recommended that you specify explicit versions as the provider will see spurious diffs when fuzzy versions are used. See the gcp.container.getEngineVersions data source’s version_prefix field to approximate fuzzy versions in a provider-compatible way.

cluster string

The cluster to create the node pool for. Cluster must be present in location provided for zonal clusters.

autoscaling NodePoolAutoscaling

Configuration required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. Structure is documented below.

initialNodeCount number

The initial number of nodes for the pool. In regional or multi-zonal clusters, this is the number of nodes per zone. Changing this will force recreation of the resource.

location string

The location (region or zone) of the cluster.

management NodePoolManagement

Node management configuration, wherein auto-repair and auto-upgrade is configured. Structure is documented below.

maxPodsPerNode number

The maximum number of pods per node in this node pool. Note that this does not work on node pools which are “route-based” - that is, node pools belonging to clusters that do not have IP Aliasing enabled. See the official documentation for more information.

name string

The name of the node pool. If left blank, the provider will auto-generate a unique name.

namePrefix string

Creates a unique name for the node pool beginning with the specified prefix. Conflicts with name.

nodeConfig NodePoolNodeConfig

The node configuration of the pool. See gcp.container.Cluster for schema.

nodeCount number

The number of nodes per instance group. This field can be used to update the number of nodes per instance group but should not be used alongside autoscaling.

nodeLocations string[]

The list of zones in which the node pool’s nodes should be located. Nodes must be in the region of their regional cluster or in the same region as their cluster’s zone for zonal clusters. If unspecified, the cluster-level node_locations will be used.

project string

The ID of the project in which to create the node pool. If blank, the provider-configured project will be used.

upgradeSettings NodePoolUpgradeSettings

Specify node upgrade settings to change how many nodes GKE attempts to upgrade at once. The number of nodes upgraded simultaneously is the sum of max_surge and max_unavailable. The maximum number of nodes upgraded simultaneously is limited to 20.

version string

The Kubernetes version for the nodes in this pool. Note that if this field and auto_upgrade are both specified, they will fight each other for what the node version should be, so setting both is highly discouraged. While a fuzzy version can be specified, it’s recommended that you specify explicit versions as the provider will see spurious diffs when fuzzy versions are used. See the gcp.container.getEngineVersions data source’s version_prefix field to approximate fuzzy versions in a provider-compatible way.

cluster str

The cluster to create the node pool for. Cluster must be present in location provided for zonal clusters.

autoscaling Dict[NodePoolAutoscaling]

Configuration required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. Structure is documented below.

initial_node_count float

The initial number of nodes for the pool. In regional or multi-zonal clusters, this is the number of nodes per zone. Changing this will force recreation of the resource.

location str

The location (region or zone) of the cluster.

management Dict[NodePoolManagement]

Node management configuration, wherein auto-repair and auto-upgrade is configured. Structure is documented below.

max_pods_per_node float

The maximum number of pods per node in this node pool. Note that this does not work on node pools which are “route-based” - that is, node pools belonging to clusters that do not have IP Aliasing enabled. See the official documentation for more information.

name str

The name of the node pool. If left blank, the provider will auto-generate a unique name.

name_prefix str

Creates a unique name for the node pool beginning with the specified prefix. Conflicts with name.

node_config Dict[NodePoolNodeConfig]

The node configuration of the pool. See gcp.container.Cluster for schema.

node_count float

The number of nodes per instance group. This field can be used to update the number of nodes per instance group but should not be used alongside autoscaling.

node_locations List[str]

The list of zones in which the node pool’s nodes should be located. Nodes must be in the region of their regional cluster or in the same region as their cluster’s zone for zonal clusters. If unspecified, the cluster-level node_locations will be used.

project str

The ID of the project in which to create the node pool. If blank, the provider-configured project will be used.

upgrade_settings Dict[NodePoolUpgradeSettings]

Specify node upgrade settings to change how many nodes GKE attempts to upgrade at once. The number of nodes upgraded simultaneously is the sum of max_surge and max_unavailable. The maximum number of nodes upgraded simultaneously is limited to 20.

version str

The Kubernetes version for the nodes in this pool. Note that if this field and auto_upgrade are both specified, they will fight each other for what the node version should be, so setting both is highly discouraged. While a fuzzy version can be specified, it’s recommended that you specify explicit versions as the provider will see spurious diffs when fuzzy versions are used. See the gcp.container.getEngineVersions data source’s version_prefix field to approximate fuzzy versions in a provider-compatible way.

Outputs

All input properties are implicitly available as output properties. Additionally, the NodePool resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
InstanceGroupUrls List<string>

The resource URLs of the managed instance groups associated with this node pool.

Id string
The provider-assigned unique ID for this managed resource.
InstanceGroupUrls []string

The resource URLs of the managed instance groups associated with this node pool.

id string
The provider-assigned unique ID for this managed resource.
instanceGroupUrls string[]

The resource URLs of the managed instance groups associated with this node pool.

id str
The provider-assigned unique ID for this managed resource.
instance_group_urls List[str]

The resource URLs of the managed instance groups associated with this node pool.

Look up an Existing NodePool Resource

Get an existing NodePool resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: NodePoolState, opts?: CustomResourceOptions): NodePool
static get(resource_name, id, opts=None, autoscaling=None, cluster=None, initial_node_count=None, instance_group_urls=None, location=None, management=None, max_pods_per_node=None, name=None, name_prefix=None, node_config=None, node_count=None, node_locations=None, project=None, upgrade_settings=None, version=None, __props__=None);
func GetNodePool(ctx *Context, name string, id IDInput, state *NodePoolState, opts ...ResourceOption) (*NodePool, error)
public static NodePool Get(string name, Input<string> id, NodePoolState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Autoscaling NodePoolAutoscalingArgs

Configuration required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. Structure is documented below.

Cluster string

The cluster to create the node pool for. Cluster must be present in location provided for zonal clusters.

InitialNodeCount int

The initial number of nodes for the pool. In regional or multi-zonal clusters, this is the number of nodes per zone. Changing this will force recreation of the resource.

InstanceGroupUrls List<string>

The resource URLs of the managed instance groups associated with this node pool.

Location string

The location (region or zone) of the cluster.

Management NodePoolManagementArgs

Node management configuration, wherein auto-repair and auto-upgrade is configured. Structure is documented below.

MaxPodsPerNode int

The maximum number of pods per node in this node pool. Note that this does not work on node pools which are “route-based” - that is, node pools belonging to clusters that do not have IP Aliasing enabled. See the official documentation for more information.

Name string

The name of the node pool. If left blank, the provider will auto-generate a unique name.

NamePrefix string

Creates a unique name for the node pool beginning with the specified prefix. Conflicts with name.

NodeConfig NodePoolNodeConfigArgs

The node configuration of the pool. See gcp.container.Cluster for schema.

NodeCount int

The number of nodes per instance group. This field can be used to update the number of nodes per instance group but should not be used alongside autoscaling.

NodeLocations List<string>

The list of zones in which the node pool’s nodes should be located. Nodes must be in the region of their regional cluster or in the same region as their cluster’s zone for zonal clusters. If unspecified, the cluster-level node_locations will be used.

Project string

The ID of the project in which to create the node pool. If blank, the provider-configured project will be used.

UpgradeSettings NodePoolUpgradeSettingsArgs

Specify node upgrade settings to change how many nodes GKE attempts to upgrade at once. The number of nodes upgraded simultaneously is the sum of max_surge and max_unavailable. The maximum number of nodes upgraded simultaneously is limited to 20.

Version string

The Kubernetes version for the nodes in this pool. Note that if this field and auto_upgrade are both specified, they will fight each other for what the node version should be, so setting both is highly discouraged. While a fuzzy version can be specified, it’s recommended that you specify explicit versions as the provider will see spurious diffs when fuzzy versions are used. See the gcp.container.getEngineVersions data source’s version_prefix field to approximate fuzzy versions in a provider-compatible way.

Autoscaling NodePoolAutoscaling

Configuration required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. Structure is documented below.

Cluster string

The cluster to create the node pool for. Cluster must be present in location provided for zonal clusters.

InitialNodeCount int

The initial number of nodes for the pool. In regional or multi-zonal clusters, this is the number of nodes per zone. Changing this will force recreation of the resource.

InstanceGroupUrls []string

The resource URLs of the managed instance groups associated with this node pool.

Location string

The location (region or zone) of the cluster.

Management NodePoolManagement

Node management configuration, wherein auto-repair and auto-upgrade is configured. Structure is documented below.

MaxPodsPerNode int

The maximum number of pods per node in this node pool. Note that this does not work on node pools which are “route-based” - that is, node pools belonging to clusters that do not have IP Aliasing enabled. See the official documentation for more information.

Name string

The name of the node pool. If left blank, the provider will auto-generate a unique name.

NamePrefix string

Creates a unique name for the node pool beginning with the specified prefix. Conflicts with name.

NodeConfig NodePoolNodeConfig

The node configuration of the pool. See gcp.container.Cluster for schema.

NodeCount int

The number of nodes per instance group. This field can be used to update the number of nodes per instance group but should not be used alongside autoscaling.

NodeLocations []string

The list of zones in which the node pool’s nodes should be located. Nodes must be in the region of their regional cluster or in the same region as their cluster’s zone for zonal clusters. If unspecified, the cluster-level node_locations will be used.

Project string

The ID of the project in which to create the node pool. If blank, the provider-configured project will be used.

UpgradeSettings NodePoolUpgradeSettings

Specify node upgrade settings to change how many nodes GKE attempts to upgrade at once. The number of nodes upgraded simultaneously is the sum of max_surge and max_unavailable. The maximum number of nodes upgraded simultaneously is limited to 20.

Version string

The Kubernetes version for the nodes in this pool. Note that if this field and auto_upgrade are both specified, they will fight each other for what the node version should be, so setting both is highly discouraged. While a fuzzy version can be specified, it’s recommended that you specify explicit versions as the provider will see spurious diffs when fuzzy versions are used. See the gcp.container.getEngineVersions data source’s version_prefix field to approximate fuzzy versions in a provider-compatible way.

autoscaling NodePoolAutoscaling

Configuration required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. Structure is documented below.

cluster string

The cluster to create the node pool for. Cluster must be present in location provided for zonal clusters.

initialNodeCount number

The initial number of nodes for the pool. In regional or multi-zonal clusters, this is the number of nodes per zone. Changing this will force recreation of the resource.

instanceGroupUrls string[]

The resource URLs of the managed instance groups associated with this node pool.

location string

The location (region or zone) of the cluster.

management NodePoolManagement

Node management configuration, wherein auto-repair and auto-upgrade is configured. Structure is documented below.

maxPodsPerNode number

The maximum number of pods per node in this node pool. Note that this does not work on node pools which are “route-based” - that is, node pools belonging to clusters that do not have IP Aliasing enabled. See the official documentation for more information.

name string

The name of the node pool. If left blank, the provider will auto-generate a unique name.

namePrefix string

Creates a unique name for the node pool beginning with the specified prefix. Conflicts with name.

nodeConfig NodePoolNodeConfig

The node configuration of the pool. See gcp.container.Cluster for schema.

nodeCount number

The number of nodes per instance group. This field can be used to update the number of nodes per instance group but should not be used alongside autoscaling.

nodeLocations string[]

The list of zones in which the node pool’s nodes should be located. Nodes must be in the region of their regional cluster or in the same region as their cluster’s zone for zonal clusters. If unspecified, the cluster-level node_locations will be used.

project string

The ID of the project in which to create the node pool. If blank, the provider-configured project will be used.

upgradeSettings NodePoolUpgradeSettings

Specify node upgrade settings to change how many nodes GKE attempts to upgrade at once. The number of nodes upgraded simultaneously is the sum of max_surge and max_unavailable. The maximum number of nodes upgraded simultaneously is limited to 20.

version string

The Kubernetes version for the nodes in this pool. Note that if this field and auto_upgrade are both specified, they will fight each other for what the node version should be, so setting both is highly discouraged. While a fuzzy version can be specified, it’s recommended that you specify explicit versions as the provider will see spurious diffs when fuzzy versions are used. See the gcp.container.getEngineVersions data source’s version_prefix field to approximate fuzzy versions in a provider-compatible way.

autoscaling Dict[NodePoolAutoscaling]

Configuration required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. Structure is documented below.

cluster str

The cluster to create the node pool for. Cluster must be present in location provided for zonal clusters.

initial_node_count float

The initial number of nodes for the pool. In regional or multi-zonal clusters, this is the number of nodes per zone. Changing this will force recreation of the resource.

instance_group_urls List[str]

The resource URLs of the managed instance groups associated with this node pool.

location str

The location (region or zone) of the cluster.

management Dict[NodePoolManagement]

Node management configuration, wherein auto-repair and auto-upgrade is configured. Structure is documented below.

max_pods_per_node float

The maximum number of pods per node in this node pool. Note that this does not work on node pools which are “route-based” - that is, node pools belonging to clusters that do not have IP Aliasing enabled. See the official documentation for more information.

name str

The name of the node pool. If left blank, the provider will auto-generate a unique name.

name_prefix str

Creates a unique name for the node pool beginning with the specified prefix. Conflicts with name.

node_config Dict[NodePoolNodeConfig]

The node configuration of the pool. See gcp.container.Cluster for schema.

node_count float

The number of nodes per instance group. This field can be used to update the number of nodes per instance group but should not be used alongside autoscaling.

node_locations List[str]

The list of zones in which the node pool’s nodes should be located. Nodes must be in the region of their regional cluster or in the same region as their cluster’s zone for zonal clusters. If unspecified, the cluster-level node_locations will be used.

project str

The ID of the project in which to create the node pool. If blank, the provider-configured project will be used.

upgrade_settings Dict[NodePoolUpgradeSettings]

Specify node upgrade settings to change how many nodes GKE attempts to upgrade at once. The number of nodes upgraded simultaneously is the sum of max_surge and max_unavailable. The maximum number of nodes upgraded simultaneously is limited to 20.

version str

The Kubernetes version for the nodes in this pool. Note that if this field and auto_upgrade are both specified, they will fight each other for what the node version should be, so setting both is highly discouraged. While a fuzzy version can be specified, it’s recommended that you specify explicit versions as the provider will see spurious diffs when fuzzy versions are used. See the gcp.container.getEngineVersions data source’s version_prefix field to approximate fuzzy versions in a provider-compatible way.

Supporting Types

NodePoolAutoscaling

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

MaxNodeCount int

Maximum number of nodes in the NodePool. Must be >= min_node_count.

MinNodeCount int

Minimum number of nodes in the NodePool. Must be >=0 and <= max_node_count.

MaxNodeCount int

Maximum number of nodes in the NodePool. Must be >= min_node_count.

MinNodeCount int

Minimum number of nodes in the NodePool. Must be >=0 and <= max_node_count.

maxNodeCount number

Maximum number of nodes in the NodePool. Must be >= min_node_count.

minNodeCount number

Minimum number of nodes in the NodePool. Must be >=0 and <= max_node_count.

maxNodeCount float

Maximum number of nodes in the NodePool. Must be >= min_node_count.

minNodeCount float

Minimum number of nodes in the NodePool. Must be >=0 and <= max_node_count.

NodePoolManagement

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

AutoRepair bool

Whether the nodes will be automatically repaired.

AutoUpgrade bool

Whether the nodes will be automatically upgraded.

AutoRepair bool

Whether the nodes will be automatically repaired.

AutoUpgrade bool

Whether the nodes will be automatically upgraded.

autoRepair boolean

Whether the nodes will be automatically repaired.

autoUpgrade boolean

Whether the nodes will be automatically upgraded.

autoRepair bool

Whether the nodes will be automatically repaired.

autoUpgrade bool

Whether the nodes will be automatically upgraded.

NodePoolNodeConfig

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

BootDiskKmsKey string
DiskSizeGb int
DiskType string
GuestAccelerators List<NodePoolNodeConfigGuestAcceleratorArgs>
ImageType string
Labels Dictionary<string, string>
LocalSsdCount int
MachineType string
Metadata Dictionary<string, string>
MinCpuPlatform string
OauthScopes List<string>
Preemptible bool
SandboxConfig NodePoolNodeConfigSandboxConfigArgs
ServiceAccount string
ShieldedInstanceConfig NodePoolNodeConfigShieldedInstanceConfigArgs
Tags List<string>
Taints List<NodePoolNodeConfigTaintArgs>
WorkloadMetadataConfig NodePoolNodeConfigWorkloadMetadataConfigArgs
BootDiskKmsKey string
DiskSizeGb int
DiskType string
GuestAccelerators []NodePoolNodeConfigGuestAccelerator
ImageType string
Labels map[string]string
LocalSsdCount int
MachineType string
Metadata map[string]string
MinCpuPlatform string
OauthScopes []string
Preemptible bool
SandboxConfig NodePoolNodeConfigSandboxConfig
ServiceAccount string
ShieldedInstanceConfig NodePoolNodeConfigShieldedInstanceConfig
Tags []string
Taints []NodePoolNodeConfigTaint
WorkloadMetadataConfig NodePoolNodeConfigWorkloadMetadataConfig
bootDiskKmsKey string
diskSizeGb number
diskType string
guestAccelerators NodePoolNodeConfigGuestAccelerator[]
imageType string
labels {[key: string]: string}
localSsdCount number
machineType string
metadata {[key: string]: string}
minCpuPlatform string
oauthScopes string[]
preemptible boolean
sandboxConfig NodePoolNodeConfigSandboxConfig
serviceAccount string
shieldedInstanceConfig NodePoolNodeConfigShieldedInstanceConfig
tags string[]
taints NodePoolNodeConfigTaint[]
workloadMetadataConfig NodePoolNodeConfigWorkloadMetadataConfig
bootDiskKmsKey str
diskType str
disk_size_gb float
guest_accelerators List[NodePoolNodeConfigGuestAccelerator]
imageType str
labels Dict[str, str]
localSsdCount float
machine_type str
metadata Dict[str, str]
min_cpu_platform str
oauthScopes List[str]
preemptible bool
sandboxConfig Dict[NodePoolNodeConfigSandboxConfig]
service_account str
shielded_instance_config Dict[NodePoolNodeConfigShieldedInstanceConfig]
tags List[str]
taints List[NodePoolNodeConfigTaint]
workloadMetadataConfig Dict[NodePoolNodeConfigWorkloadMetadataConfig]

NodePoolNodeConfigGuestAccelerator

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Count int
Type string
Count int
Type string
count number
type string
count float
type str

NodePoolNodeConfigSandboxConfig

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

SandboxType string
SandboxType string
sandboxType string
sandboxType str

NodePoolNodeConfigShieldedInstanceConfig

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

EnableIntegrityMonitoring bool
EnableSecureBoot bool
EnableIntegrityMonitoring bool
EnableSecureBoot bool
enableIntegrityMonitoring boolean
enableSecureBoot boolean
enableIntegrityMonitoring bool
enableSecureBoot bool

NodePoolNodeConfigTaint

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Effect string
Key string
Value string
Effect string
Key string
Value string
effect string
key string
value string
effect str
key str
value str

NodePoolNodeConfigWorkloadMetadataConfig

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

NodeMetadata string
NodeMetadata string
nodeMetadata string
nodeMetadata str

NodePoolUpgradeSettings

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

MaxSurge int

The number of additional nodes that can be added to the node pool during an upgrade. Increasing max_surge raises the number of nodes that can be upgraded simultaneously. Can be set to 0 or greater.

MaxUnavailable int

The number of nodes that can be simultaneously unavailable during an upgrade. Increasing max_unavailable raises the number of nodes that can be upgraded in parallel. Can be set to 0 or greater.

MaxSurge int

The number of additional nodes that can be added to the node pool during an upgrade. Increasing max_surge raises the number of nodes that can be upgraded simultaneously. Can be set to 0 or greater.

MaxUnavailable int

The number of nodes that can be simultaneously unavailable during an upgrade. Increasing max_unavailable raises the number of nodes that can be upgraded in parallel. Can be set to 0 or greater.

maxSurge number

The number of additional nodes that can be added to the node pool during an upgrade. Increasing max_surge raises the number of nodes that can be upgraded simultaneously. Can be set to 0 or greater.

maxUnavailable number

The number of nodes that can be simultaneously unavailable during an upgrade. Increasing max_unavailable raises the number of nodes that can be upgraded in parallel. Can be set to 0 or greater.

maxSurge float

The number of additional nodes that can be added to the node pool during an upgrade. Increasing max_surge raises the number of nodes that can be upgraded simultaneously. Can be set to 0 or greater.

maxUnavailable float

The number of nodes that can be simultaneously unavailable during an upgrade. Increasing max_unavailable raises the number of nodes that can be upgraded in parallel. Can be set to 0 or greater.

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.