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

NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.

Attributes

  • autoprovisioned (type: boolean(), default: nil) - Can this node pool be deleted automatically.
  • enabled (type: boolean(), default: nil) - Is autoscaling enabled for this node pool.
  • locationPolicy (type: String.t, default: nil) - Location policy used when scaling up a nodepool.
  • maxNodeCount (type: integer(), default: nil) - Maximum number of nodes for one location in the NodePool. Must be >= min_node_count. There has to be enough quota to scale up the cluster.
  • minNodeCount (type: integer(), default: nil) - Minimum number of nodes for one location in the NodePool. Must be >= 1 and <= max_node_count.
  • totalMaxNodeCount (type: integer(), default: nil) - Maximum number of nodes in the node pool. Must be greater than totalmin_node_count. There has to be enough quota to scale up the cluster. The total_node_count fields are mutually exclusive with the _node_count fields.
  • totalMinNodeCount (type: integer(), default: nil) - Minimum number of nodes in the node pool. Must be greater than 1 less than totalmax_node_count. The total_node_count fields are mutually exclusive with the _node_count fields.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Container.V1.Model.NodePoolAutoscaling{
  autoprovisioned: boolean() | nil,
  enabled: boolean() | nil,
  locationPolicy: String.t() | nil,
  maxNodeCount: integer() | nil,
  minNodeCount: integer() | nil,
  totalMaxNodeCount: integer() | nil,
  totalMinNodeCount: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.