Cluster Node Pool
data class ClusterNodePool(val autoscaling: ClusterNodePoolAutoscaling? = null, val initialNodeCount: Int? = null, val instanceGroupUrls: List<String>? = null, val managedInstanceGroupUrls: List<String>? = null, val management: ClusterNodePoolManagement? = null, val maxPodsPerNode: Int? = null, val name: String? = null, val namePrefix: String? = null, val networkConfig: ClusterNodePoolNetworkConfig? = null, val nodeConfig: ClusterNodePoolNodeConfig? = null, val nodeCount: Int? = null, val nodeLocations: List<String>? = null, val placementPolicy: ClusterNodePoolPlacementPolicy? = null, val upgradeSettings: ClusterNodePoolUpgradeSettings? = null, val version: String? = null)
Constructors
Link copied to clipboard
fun ClusterNodePool(autoscaling: ClusterNodePoolAutoscaling? = null, initialNodeCount: Int? = null, instanceGroupUrls: List<String>? = null, managedInstanceGroupUrls: List<String>? = null, management: ClusterNodePoolManagement? = null, maxPodsPerNode: Int? = null, name: String? = null, namePrefix: String? = null, networkConfig: ClusterNodePoolNetworkConfig? = null, nodeConfig: ClusterNodePoolNodeConfig? = null, nodeCount: Int? = null, nodeLocations: List<String>? = null, placementPolicy: ClusterNodePoolPlacementPolicy? = null, upgradeSettings: ClusterNodePoolUpgradeSettings? = null, version: String? = null)
Types
Properties
Link copied to clipboard
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
Configuration for Adding Pod IP address ranges) to the node pool. Structure is documented below