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 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, upgradeSettings: Output<ClusterNodePoolUpgradeSettingsArgs>? = null, version: Output<String>? = null)

Properties

Link copied to clipboard
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
Link copied to clipboard
val managedInstanceGroupUrls: Output<List<String>>? = null
Link copied to clipboard

NodeManagement configuration for this NodePool. Structure is documented below.

Link copied to clipboard
val maxPodsPerNode: Output<Int>? = null
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
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
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
Link copied to clipboard

Specifies the upgrade settings for NAP created node pools. Structure is documented below.

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

Functions

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