google_api_container v0.1.0 GoogleApi.Container.V1.Model.ClusterUpdate View Source

ClusterUpdate describes an update to the cluster. Exactly one update can be applied to a cluster with each request, so at most one field can be provided.

Attributes

  • desiredAddonsConfig (AddonsConfig): Configurations for the various addons available to run in the cluster. Defaults to: null.
  • desiredImageType (String.t): The desired image type for the node pool. NOTE: Set the "desired_node_pool" field as well. Defaults to: null.
  • desiredLocations ([String.t]): The desired list of Google Compute Engine locations in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed. This list must always include the cluster's primary zone. Defaults to: null.
  • desiredMasterAuthorizedNetworksConfig (MasterAuthorizedNetworksConfig): The desired configuration options for master authorized networks feature. Defaults to: null.
  • desiredMasterVersion (String.t): The Kubernetes version to change the master to. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the default Kubernetes version Defaults to: null.
  • desiredMonitoringService (String.t): The monitoring service the cluster should use to write metrics. Currently available options: "monitoring.googleapis.com" - the Google Cloud Monitoring service "none" - no metrics will be exported from the cluster Defaults to: null.
  • desiredNodePoolAutoscaling (NodePoolAutoscaling): Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool. Defaults to: null.
  • desiredNodePoolId (String.t): The node pool to be upgraded. This field is mandatory if "desired_node_version", "desired_image_family" or "desired_node_pool_autoscaling" is specified and there is more than one node pool on the cluster. Defaults to: null.
  • desiredNodeVersion (String.t): The Kubernetes version to change the nodes to (typically an upgrade). Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the Kubernetes master version Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type t() View Source
t() :: %GoogleApi.Container.V1.Model.ClusterUpdate{
  desiredAddonsConfig: GoogleApi.Container.V1.Model.AddonsConfig.t(),
  desiredImageType: any(),
  desiredLocations: [any()],
  desiredMasterAuthorizedNetworksConfig:
    GoogleApi.Container.V1.Model.MasterAuthorizedNetworksConfig.t(),
  desiredMasterVersion: any(),
  desiredMonitoringService: any(),
  desiredNodePoolAutoscaling:
    GoogleApi.Container.V1.Model.NodePoolAutoscaling.t(),
  desiredNodePoolId: any(),
  desiredNodeVersion: any()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.