Interface ContainerClusterNodePool

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    ContainerClusterNodePool.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:19.246Z")
    @Stability(Stable)
    public interface ContainerClusterNodePool
    extends software.amazon.jsii.JsiiSerializable
    • Method Detail

      • getAutoscaling

        @Stability(Stable)
        @Nullable
        default ContainerClusterNodePoolAutoscaling getAutoscaling()
        autoscaling block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#autoscaling ContainerCluster#autoscaling}

      • getInitialNodeCount

        @Stability(Stable)
        @Nullable
        default Number getInitialNodeCount()
        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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#initial_node_count ContainerCluster#initial_node_count}

      • getManagement

        @Stability(Stable)
        @Nullable
        default ContainerClusterNodePoolManagement getManagement()
        management block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#management ContainerCluster#management}

      • getMaxPodsPerNode

        @Stability(Stable)
        @Nullable
        default Number getMaxPodsPerNode()
        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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#max_pods_per_node ContainerCluster#max_pods_per_node}

      • getName

        @Stability(Stable)
        @Nullable
        default String getName()
        The name of the node pool. If left blank, Terraform will auto-generate a unique name.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#name ContainerCluster#name}

      • getNamePrefix

        @Stability(Stable)
        @Nullable
        default String getNamePrefix()
        Creates a unique name for the node pool beginning with the specified prefix. Conflicts with name.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#name_prefix ContainerCluster#name_prefix}

      • getNetworkConfig

        @Stability(Stable)
        @Nullable
        default ContainerClusterNodePoolNetworkConfig getNetworkConfig()
        network_config block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#network_config ContainerCluster#network_config}

      • getNodeConfig

        @Stability(Stable)
        @Nullable
        default ContainerClusterNodePoolNodeConfig getNodeConfig()
        node_config block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#node_config ContainerCluster#node_config}

      • getNodeCount

        @Stability(Stable)
        @Nullable
        default Number getNodeCount()
        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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#node_count ContainerCluster#node_count}

      • getNodeLocations

        @Stability(Stable)
        @Nullable
        default List<String> getNodeLocations()
        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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#node_locations ContainerCluster#node_locations}

      • getPlacementPolicy

        @Stability(Stable)
        @Nullable
        default ContainerClusterNodePoolPlacementPolicy getPlacementPolicy()
        placement_policy block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#placement_policy ContainerCluster#placement_policy}

      • getQueuedProvisioning

        @Stability(Stable)
        @Nullable
        default ContainerClusterNodePoolQueuedProvisioning getQueuedProvisioning()
        queued_provisioning block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#queued_provisioning ContainerCluster#queued_provisioning}

      • getUpgradeSettings

        @Stability(Stable)
        @Nullable
        default ContainerClusterNodePoolUpgradeSettings getUpgradeSettings()
        upgrade_settings block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#upgrade_settings ContainerCluster#upgrade_settings}

      • getVersion

        @Stability(Stable)
        @Nullable
        default String getVersion()
        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 Terraform will see spurious diffs when fuzzy versions are used. See the google_container_engine_versions data source's version_prefix field to approximate fuzzy versions in a Terraform-compatible way. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#version ContainerCluster#version}