Class ClusterNodePoolArgs.Builder

  • Enclosing class:
    ClusterNodePoolArgs

    public static final class ClusterNodePoolArgs.Builder
    extends java.lang.Object
    • Method Detail

      • initialNodeCount

        public ClusterNodePoolArgs.Builder initialNodeCount​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Integer> initialNodeCount)
        Parameters:
        initialNodeCount - 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`.
        Returns:
        builder
      • initialNodeCount

        public ClusterNodePoolArgs.Builder initialNodeCount​(java.lang.Integer initialNodeCount)
        Parameters:
        initialNodeCount - 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`.
        Returns:
        builder
      • instanceGroupUrls

        public ClusterNodePoolArgs.Builder instanceGroupUrls​(@Nullable
                                                             com.pulumi.core.Output<java.util.List<java.lang.String>> instanceGroupUrls)
      • managedInstanceGroupUrls

        public ClusterNodePoolArgs.Builder managedInstanceGroupUrls​(@Nullable
                                                                    com.pulumi.core.Output<java.util.List<java.lang.String>> managedInstanceGroupUrls)
      • managedInstanceGroupUrls

        public ClusterNodePoolArgs.Builder managedInstanceGroupUrls​(java.util.List<java.lang.String> managedInstanceGroupUrls)
      • managedInstanceGroupUrls

        public ClusterNodePoolArgs.Builder managedInstanceGroupUrls​(java.lang.String... managedInstanceGroupUrls)
      • maxPodsPerNode

        public ClusterNodePoolArgs.Builder maxPodsPerNode​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Integer> maxPodsPerNode)
      • name

        public ClusterNodePoolArgs.Builder name​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the cluster, unique within the project and location. ***
        Returns:
        builder
      • name

        public ClusterNodePoolArgs.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the cluster, unique within the project and location. ***
        Returns:
        builder
      • networkConfig

        public ClusterNodePoolArgs.Builder networkConfig​(@Nullable
                                                         com.pulumi.core.Output<ClusterNodePoolNetworkConfigArgs> networkConfig)
        Parameters:
        networkConfig - Configuration for [Adding Pod IP address ranges](https://cloud.google.com/kubernetes-engine/docs/how-to/multi-pod-cidr)) to the node pool. Structure is documented below
        Returns:
        builder
      • networkConfig

        public ClusterNodePoolArgs.Builder networkConfig​(ClusterNodePoolNetworkConfigArgs networkConfig)
        Parameters:
        networkConfig - Configuration for [Adding Pod IP address ranges](https://cloud.google.com/kubernetes-engine/docs/how-to/multi-pod-cidr)) to the node pool. Structure is documented below
        Returns:
        builder
      • nodeConfig

        public ClusterNodePoolArgs.Builder nodeConfig​(@Nullable
                                                      com.pulumi.core.Output<ClusterNodePoolNodeConfigArgs> nodeConfig)
        Parameters:
        nodeConfig - 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.
        Returns:
        builder
      • nodeConfig

        public ClusterNodePoolArgs.Builder nodeConfig​(ClusterNodePoolNodeConfigArgs nodeConfig)
        Parameters:
        nodeConfig - 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.
        Returns:
        builder
      • nodeLocations

        public ClusterNodePoolArgs.Builder nodeLocations​(@Nullable
                                                         com.pulumi.core.Output<java.util.List<java.lang.String>> nodeLocations)
        Parameters:
        nodeLocations - 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. > A "multi-zonal" cluster is a zonal cluster with at least one additional zone defined; in a multi-zonal cluster, the cluster master is only present in a single zone while nodes are present in each of the primary zone and the node locations. In contrast, in a regional cluster, cluster master nodes are present in multiple zones in the region. For that reason, regional clusters should be preferred.
        Returns:
        builder
      • nodeLocations

        public ClusterNodePoolArgs.Builder nodeLocations​(java.util.List<java.lang.String> nodeLocations)
        Parameters:
        nodeLocations - 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. > A "multi-zonal" cluster is a zonal cluster with at least one additional zone defined; in a multi-zonal cluster, the cluster master is only present in a single zone while nodes are present in each of the primary zone and the node locations. In contrast, in a regional cluster, cluster master nodes are present in multiple zones in the region. For that reason, regional clusters should be preferred.
        Returns:
        builder
      • nodeLocations

        public ClusterNodePoolArgs.Builder nodeLocations​(java.lang.String... nodeLocations)
        Parameters:
        nodeLocations - 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. > A "multi-zonal" cluster is a zonal cluster with at least one additional zone defined; in a multi-zonal cluster, the cluster master is only present in a single zone while nodes are present in each of the primary zone and the node locations. In contrast, in a regional cluster, cluster master nodes are present in multiple zones in the region. For that reason, regional clusters should be preferred.
        Returns:
        builder