ClusterNodePoolArgs

data class ClusterNodePoolArgs(val autoscaling: Output<ClusterNodePoolAutoscalingArgs>? = null, val initialNodeCount: Output<Int>? = null, val instanceGroupUrls: Output<List<String>>? = null, val managedInstanceGroupUrls: Output<List<String>>? = null, val management: Output<ClusterNodePoolManagementArgs>? = null, val maxPodsPerNode: Output<Int>? = null, val name: Output<String>? = null, val namePrefix: Output<String>? = null, val networkConfig: Output<ClusterNodePoolNetworkConfigArgs>? = null, val nodeConfig: Output<ClusterNodePoolNodeConfigArgs>? = null, val nodeCount: Output<Int>? = null, val nodeLocations: Output<List<String>>? = null, val placementPolicy: Output<ClusterNodePoolPlacementPolicyArgs>? = null, val queuedProvisioning: Output<ClusterNodePoolQueuedProvisioningArgs>? = null, val upgradeSettings: Output<ClusterNodePoolUpgradeSettingsArgs>? = null, val version: Output<String>? = null) : ConvertibleToJava<ClusterNodePoolArgs>

Constructors

Link copied to clipboard
constructor(autoscaling: Output<ClusterNodePoolAutoscalingArgs>? = null, initialNodeCount: Output<Int>? = null, instanceGroupUrls: Output<List<String>>? = null, managedInstanceGroupUrls: Output<List<String>>? = null, management: Output<ClusterNodePoolManagementArgs>? = null, maxPodsPerNode: Output<Int>? = null, name: Output<String>? = null, namePrefix: Output<String>? = null, networkConfig: Output<ClusterNodePoolNetworkConfigArgs>? = null, nodeConfig: Output<ClusterNodePoolNodeConfigArgs>? = null, nodeCount: Output<Int>? = null, nodeLocations: Output<List<String>>? = null, placementPolicy: Output<ClusterNodePoolPlacementPolicyArgs>? = null, queuedProvisioning: Output<ClusterNodePoolQueuedProvisioningArgs>? = null, upgradeSettings: Output<ClusterNodePoolUpgradeSettingsArgs>? = null, version: Output<String>? = null)

Properties

Link copied to clipboard

Configuration required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.

Link copied to clipboard
val initialNodeCount: Output<Int>? = null

The number of nodes to create in this cluster's default node pool. In regional or multi-zonal clusters, this is the number of nodes per zone. Must be set if node_pool is not set. If you're using gcp.container.NodePool objects with no default node pool, you'll need to set this to a value of at least 1, alongside setting remove_default_node_pool to true.

Link copied to clipboard
val instanceGroupUrls: Output<List<String>>? = null

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

Link copied to clipboard
val managedInstanceGroupUrls: Output<List<String>>? = null

List of instance group URLs which have been assigned to this node pool.

Link copied to clipboard

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

Link copied to clipboard
val maxPodsPerNode: Output<Int>? = null

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.

Link copied to clipboard
val name: Output<String>? = null

The name of the cluster, unique within the project and location.

Link copied to clipboard
val namePrefix: Output<String>? = null

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

Link copied to clipboard

Configuration for Adding Pod IP address ranges) to the node pool. Structure is documented below

Link copied to clipboard

Parameters used in creating the default node pool. Generally, this field should not be used at the same time as a gcp.container.NodePool or a node_pool block; this configuration manages the default node pool, which isn't recommended to be used. Structure is documented below.

Link copied to clipboard
val nodeCount: Output<Int>? = null

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.

Link copied to clipboard
val nodeLocations: Output<List<String>>? = null

The list of zones in which the cluster's nodes are 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 this is specified for a zonal cluster, omit the cluster's zone.

Link copied to clipboard

Specifies the node placement policy

Link copied to clipboard

Specifies the configuration of queued provisioning

Link copied to clipboard

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.

Link copied to clipboard
val version: Output<String>? = null

Functions

Link copied to clipboard
open override fun toJava(): ClusterNodePoolArgs