Class: Google::Container::V1::ClusterUpdate

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#desired_addons_configGoogle::Container::V1::AddonsConfig

Returns Configurations for the various addons available to run in the cluster.

Returns:



609
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 609

class ClusterUpdate; end

#desired_image_typeString

Returns The desired image type for the node pool. NOTE: Set the "desired_node_pool" field as well.

Returns:

  • (String)

    The desired image type for the node pool. NOTE: Set the "desired_node_pool" field as well.



609
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 609

class ClusterUpdate; end

#desired_locationsArray<String>

Returns 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.

Returns:

  • (Array<String>)

    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.



609
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 609

class ClusterUpdate; end

#desired_master_authorized_networks_configGoogle::Container::V1::MasterAuthorizedNetworksConfig

Returns Master authorized networks is a Beta feature. The desired configuration options for master authorized networks feature.

Returns:



609
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 609

class ClusterUpdate; end

#desired_master_versionString

Returns The Kubernetes version to change the master to. The only valid value is the latest supported version. Use "-" to have the server automatically select the latest version.

Returns:

  • (String)

    The Kubernetes version to change the master to. The only valid value is the latest supported version. Use "-" to have the server automatically select the latest version.



609
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 609

class ClusterUpdate; end

#desired_monitoring_serviceString

Returns 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

Returns:

  • (String)

    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


609
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 609

class ClusterUpdate; end

#desired_node_pool_autoscalingGoogle::Container::V1::NodePoolAutoscaling

Returns 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.

Returns:

  • (Google::Container::V1::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.



609
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 609

class ClusterUpdate; end

#desired_node_pool_idString

Returns 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.

Returns:

  • (String)

    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.



609
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 609

class ClusterUpdate; end

#desired_node_versionString

Returns The Kubernetes version to change the nodes to (typically an upgrade). Use +-+ to upgrade to the latest version supported by the server.

Returns:

  • (String)

    The Kubernetes version to change the nodes to (typically an upgrade). Use +-+ to upgrade to the latest version supported by the server.



609
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 609

class ClusterUpdate; end