Class ClusterClusterAutoscalingArgs.Builder

    • Method Detail

      • autoscalingProfile

        public ClusterClusterAutoscalingArgs.Builder autoscalingProfile​(@Nullable
                                                                        com.pulumi.core.Output<java.lang.String> autoscalingProfile)
        Parameters:
        autoscalingProfile - ) Configuration options for the [Autoscaling profile](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-autoscaler#autoscaling_profiles) feature, which lets you choose whether the cluster autoscaler should optimize for resource utilization or resource availability when deciding to remove nodes from a cluster. Can be `BALANCED` or `OPTIMIZE_UTILIZATION`. Defaults to `BALANCED`.
        Returns:
        builder
      • autoscalingProfile

        public ClusterClusterAutoscalingArgs.Builder autoscalingProfile​(java.lang.String autoscalingProfile)
        Parameters:
        autoscalingProfile - ) Configuration options for the [Autoscaling profile](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-autoscaler#autoscaling_profiles) feature, which lets you choose whether the cluster autoscaler should optimize for resource utilization or resource availability when deciding to remove nodes from a cluster. Can be `BALANCED` or `OPTIMIZE_UTILIZATION`. Defaults to `BALANCED`.
        Returns:
        builder
      • enabled

        public ClusterClusterAutoscalingArgs.Builder enabled​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Boolean> enabled)
        Parameters:
        enabled - Whether node auto-provisioning is enabled. Must be supplied for GKE Standard clusters, `true` is implied for autopilot clusters. Resource limits for `cpu` and `memory` must be defined to enable node auto-provisioning for GKE Standard.
        Returns:
        builder
      • enabled

        public ClusterClusterAutoscalingArgs.Builder enabled​(java.lang.Boolean enabled)
        Parameters:
        enabled - Whether node auto-provisioning is enabled. Must be supplied for GKE Standard clusters, `true` is implied for autopilot clusters. Resource limits for `cpu` and `memory` must be defined to enable node auto-provisioning for GKE Standard.
        Returns:
        builder
      • resourceLimits

        public ClusterClusterAutoscalingArgs.Builder resourceLimits​(@Nullable
                                                                    com.pulumi.core.Output<java.util.List<ClusterClusterAutoscalingResourceLimitArgs>> resourceLimits)
        Parameters:
        resourceLimits - Global constraints for machine resources in the cluster. Configuring the `cpu` and `memory` types is required if node auto-provisioning is enabled. These limits will apply to node pool autoscaling in addition to node auto-provisioning. Structure is documented below.
        Returns:
        builder
      • resourceLimits

        public ClusterClusterAutoscalingArgs.Builder resourceLimits​(java.util.List<ClusterClusterAutoscalingResourceLimitArgs> resourceLimits)
        Parameters:
        resourceLimits - Global constraints for machine resources in the cluster. Configuring the `cpu` and `memory` types is required if node auto-provisioning is enabled. These limits will apply to node pool autoscaling in addition to node auto-provisioning. Structure is documented below.
        Returns:
        builder
      • resourceLimits

        public ClusterClusterAutoscalingArgs.Builder resourceLimits​(ClusterClusterAutoscalingResourceLimitArgs... resourceLimits)
        Parameters:
        resourceLimits - Global constraints for machine resources in the cluster. Configuring the `cpu` and `memory` types is required if node auto-provisioning is enabled. These limits will apply to node pool autoscaling in addition to node auto-provisioning. Structure is documented below.
        Returns:
        builder