View Source GoogleApi.Container.V1.Model.ClusterAutoscaling (google_api_container v0.45.0)

ClusterAutoscaling contains global, per-cluster information required by Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs.

Attributes

  • autoprovisioningLocations (type: list(String.t), default: nil) - The list of Google Compute Engine zones in which the NodePool's nodes can be created by NAP.
  • autoprovisioningNodePoolDefaults (type: GoogleApi.Container.V1.Model.AutoprovisioningNodePoolDefaults.t, default: nil) - AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
  • autoscalingProfile (type: String.t, default: nil) - Defines autoscaling behaviour.
  • enableNodeAutoprovisioning (type: boolean(), default: nil) - Enables automatic node pool creation and deletion.
  • resourceLimits (type: list(GoogleApi.Container.V1.Model.ResourceLimit.t), default: nil) - Contains global constraints regarding minimum and maximum amount of resources in the cluster.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Container.V1.Model.ClusterAutoscaling{
  autoprovisioningLocations: [String.t()] | nil,
  autoprovisioningNodePoolDefaults:
    GoogleApi.Container.V1.Model.AutoprovisioningNodePoolDefaults.t() | nil,
  autoscalingProfile: String.t() | nil,
  enableNodeAutoprovisioning: boolean() | nil,
  resourceLimits: [GoogleApi.Container.V1.Model.ResourceLimit.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.