Class: Google::Cloud::Container::V1::UpdateNodePoolRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/container/v1/cluster_service.rb

Overview

UpdateNodePoolRequests update a node pool's image and/or version.

Instance Attribute Summary collapse

Instance Attribute Details

#accelerators::Array<::Google::Cloud::Container::V1::AcceleratorConfig>

Returns A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.

Returns:



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#cluster_id::String

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.

Returns:

  • (::String)

    Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#confidential_nodes::Google::Cloud::Container::V1::ConfidentialNodes

Returns Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.

Returns:



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#containerd_config::Google::Cloud::Container::V1::ContainerdConfig

Returns The desired containerd config for nodes in the node pool. Initiates an upgrade operation that recreates the nodes with the new config.

Returns:



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#disk_size_gb::Integer

Returns Optional. The desired disk size for nodes in the node pool specified in GB. The smallest allowed disk size is 10GB. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk size.

Returns:

  • (::Integer)

    Optional. The desired disk size for nodes in the node pool specified in GB. The smallest allowed disk size is 10GB. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk size.



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#disk_type::String

Returns Optional. The desired disk type (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk type.

Returns:

  • (::String)

    Optional. The desired disk type (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk type.



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#etag::String

Returns The current etag of the node pool. If an etag is provided and does not match the current etag of the node pool, update will be blocked and an ABORTED error will be returned.

Returns:

  • (::String)

    The current etag of the node pool. If an etag is provided and does not match the current etag of the node pool, update will be blocked and an ABORTED error will be returned.



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#fast_socket::Google::Cloud::Container::V1::FastSocket

Returns Enable or disable NCCL fast socket for the node pool.

Returns:



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#gcfs_config::Google::Cloud::Container::V1::GcfsConfig

Returns GCFS config.

Returns:



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#gvnic::Google::Cloud::Container::V1::VirtualNIC

Returns Enable or disable gvnic on the node pool.

Returns:



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#image_type::String

Returns Required. The desired image type for the node pool. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.

Returns:



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#kubelet_config::Google::Cloud::Container::V1::NodeKubeletConfig

Returns Node kubelet configs.

Returns:



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#labels::Google::Cloud::Container::V1::NodeLabels

Returns The desired node labels to be applied to all nodes in the node pool. If this field is not present, the labels will not be changed. Otherwise, the existing node labels will be replaced with the provided labels.

Returns:

  • (::Google::Cloud::Container::V1::NodeLabels)

    The desired node labels to be applied to all nodes in the node pool. If this field is not present, the labels will not be changed. Otherwise, the existing node labels will be replaced with the provided labels.



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#linux_node_config::Google::Cloud::Container::V1::LinuxNodeConfig

Returns Parameters that can be configured on Linux nodes.

Returns:



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#locations::Array<::String>

Returns The desired list of Google Compute Engine zones in which the node pool's nodes should be located. Changing the locations for a node pool will result in nodes being either created or removed from the node pool, depending on whether locations are being added or removed.

Returns:

  • (::Array<::String>)

    The desired list of Google Compute Engine zones in which the node pool's nodes should be located. Changing the locations for a node pool will result in nodes being either created or removed from the node pool, depending on whether locations are being added or removed.



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#logging_config::Google::Cloud::Container::V1::NodePoolLoggingConfig

Returns Logging configuration.

Returns:



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#machine_type::String

Returns Optional. The desired Google Compute Engine machine type for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified machine type.

Returns:

  • (::String)

    Optional. The desired Google Compute Engine machine type for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified machine type.



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns The name (project, location, cluster, node pool) of the node pool to update. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

Returns:

  • (::String)

    The name (project, location, cluster, node pool) of the node pool to update. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#node_network_config::Google::Cloud::Container::V1::NodeNetworkConfig

Returns Node network config.

Returns:



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#node_pool_id::String

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.

Returns:

  • (::String)

    Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#node_version::String

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

Returns:

  • (::String)

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


2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#project_id::String

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Returns:

  • (::String)

    Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#queued_provisioning::Google::Cloud::Container::V1::NodePool::QueuedProvisioning

Returns Specifies the configuration of queued provisioning.

Returns:



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#resource_labels::Google::Cloud::Container::V1::ResourceLabels

Returns The resource labels for the node pool to use to annotate any related Google Compute Engine resources.

Returns:



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#resource_manager_tags::Google::Cloud::Container::V1::ResourceManagerTags

Returns Desired resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Existing tags will be replaced with new values.

Returns:



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#storage_pools::Array<::String>

Returns List of Storage Pools where boot disks are provisioned. Existing Storage Pools will be replaced with storage-pools.

Returns:

  • (::Array<::String>)

    List of Storage Pools where boot disks are provisioned. Existing Storage Pools will be replaced with storage-pools.



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#tags::Google::Cloud::Container::V1::NetworkTags

Returns The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be replaced with the provided tags.

Returns:

  • (::Google::Cloud::Container::V1::NetworkTags)

    The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be replaced with the provided tags.



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#taints::Google::Cloud::Container::V1::NodeTaints

Returns The desired node taints to be applied to all nodes in the node pool. If this field is not present, the taints will not be changed. Otherwise, the existing node taints will be replaced with the provided taints.

Returns:

  • (::Google::Cloud::Container::V1::NodeTaints)

    The desired node taints to be applied to all nodes in the node pool. If this field is not present, the taints will not be changed. Otherwise, the existing node taints will be replaced with the provided taints.



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#upgrade_settings::Google::Cloud::Container::V1::NodePool::UpgradeSettings

Returns Upgrade settings control disruption and speed of the upgrade.

Returns:



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#windows_node_config::Google::Cloud::Container::V1::WindowsNodeConfig

Returns Parameters that can be configured on Windows nodes.

Returns:



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#workload_metadata_config::Google::Cloud::Container::V1::WorkloadMetadataConfig

Returns The desired workload metadata config for the node pool.

Returns:



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#zone::String

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

Returns:

  • (::String)

    Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.



2967
2968
2969
2970
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end