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

NodePool contains the name and configuration for a cluster's node pool. Node pools are a set of nodes (i.e. VM's), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.

Attributes

  • autoscaling (type: GoogleApi.Container.V1.Model.NodePoolAutoscaling.t, default: nil) - Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
  • bestEffortProvisioning (type: GoogleApi.Container.V1.Model.BestEffortProvisioning.t, default: nil) - Enable best effort provisioning for nodes
  • conditions (type: list(GoogleApi.Container.V1.Model.StatusCondition.t), default: nil) - Which conditions caused the current node pool state.
  • config (type: GoogleApi.Container.V1.Model.NodeConfig.t, default: nil) - The node configuration of the pool.
  • etag (type: String.t, default: nil) - This checksum is computed by the server based on the value of node pool fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
  • initialNodeCount (type: integer(), default: nil) - The initial node count for the pool. You must ensure that your Compute Engine resource quota is sufficient for this number of instances. You must also have available firewall and routes quota.
  • instanceGroupUrls (type: list(String.t), default: nil) - [Output only] The resource URLs of the managed instance groups associated with this node pool. During the node pool blue-green upgrade operation, the URLs contain both blue and green resources.
  • locations (type: list(String.t), default: nil) - The list of Google Compute Engine zones in which the NodePool's nodes should be located. If this value is unspecified during node pool creation, the Cluster.Locations value will be used, instead. Warning: changing node pool locations will result in nodes being added and/or removed.
  • management (type: GoogleApi.Container.V1.Model.NodeManagement.t, default: nil) - NodeManagement configuration for this NodePool.
  • maxPodsConstraint (type: GoogleApi.Container.V1.Model.MaxPodsConstraint.t, default: nil) - The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
  • name (type: String.t, default: nil) - The name of the node pool.
  • networkConfig (type: GoogleApi.Container.V1.Model.NodeNetworkConfig.t, default: nil) - Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
  • placementPolicy (type: GoogleApi.Container.V1.Model.PlacementPolicy.t, default: nil) - Specifies the node placement policy.
  • podIpv4CidrSize (type: integer(), default: nil) - [Output only] The pod CIDR block size per node in this node pool.
  • queuedProvisioning (type: GoogleApi.Container.V1.Model.QueuedProvisioning.t, default: nil) - Specifies the configuration of queued provisioning.
  • selfLink (type: String.t, default: nil) - [Output only] Server-defined URL for the resource.
  • status (type: String.t, default: nil) - [Output only] The status of the nodes in this pool instance.
  • statusMessage (type: String.t, default: nil) - [Output only] Deprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available.
  • updateInfo (type: GoogleApi.Container.V1.Model.UpdateInfo.t, default: nil) - Output only. [Output only] Update info contains relevant information during a node pool update.
  • upgradeSettings (type: GoogleApi.Container.V1.Model.UpgradeSettings.t, default: nil) - Upgrade settings control disruption and speed of the upgrade.
  • version (type: String.t, default: nil) - The version of Kubernetes running on this NodePool's nodes. If unspecified, it defaults as described here.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Container.V1.Model.NodePool{
  autoscaling: GoogleApi.Container.V1.Model.NodePoolAutoscaling.t() | nil,
  bestEffortProvisioning:
    GoogleApi.Container.V1.Model.BestEffortProvisioning.t() | nil,
  conditions: [GoogleApi.Container.V1.Model.StatusCondition.t()] | nil,
  config: GoogleApi.Container.V1.Model.NodeConfig.t() | nil,
  etag: String.t() | nil,
  initialNodeCount: integer() | nil,
  instanceGroupUrls: [String.t()] | nil,
  locations: [String.t()] | nil,
  management: GoogleApi.Container.V1.Model.NodeManagement.t() | nil,
  maxPodsConstraint: GoogleApi.Container.V1.Model.MaxPodsConstraint.t() | nil,
  name: String.t() | nil,
  networkConfig: GoogleApi.Container.V1.Model.NodeNetworkConfig.t() | nil,
  placementPolicy: GoogleApi.Container.V1.Model.PlacementPolicy.t() | nil,
  podIpv4CidrSize: integer() | nil,
  queuedProvisioning: GoogleApi.Container.V1.Model.QueuedProvisioning.t() | nil,
  selfLink: String.t() | nil,
  status: String.t() | nil,
  statusMessage: String.t() | nil,
  updateInfo: GoogleApi.Container.V1.Model.UpdateInfo.t() | nil,
  upgradeSettings: GoogleApi.Container.V1.Model.UpgradeSettings.t() | nil,
  version: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.