Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::UpdateNodePoolRequest.
SetNodePoolVersionRequest updates the version of a node pool.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cluster_id
def cluster_id() -> ::String
Returns
- (::String) — Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
#cluster_id=
def cluster_id=(value) -> ::String
Parameter
- value (::String) — Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
Returns
- (::String) — Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
#confidential_nodes
def confidential_nodes() -> ::Google::Cloud::Container::V1beta1::ConfidentialNodes
Returns
- (::Google::Cloud::Container::V1beta1::ConfidentialNodes) — Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.
#confidential_nodes=
def confidential_nodes=(value) -> ::Google::Cloud::Container::V1beta1::ConfidentialNodes
Parameter
- value (::Google::Cloud::Container::V1beta1::ConfidentialNodes) — Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.
Returns
- (::Google::Cloud::Container::V1beta1::ConfidentialNodes) — Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.
#fast_socket
def fast_socket() -> ::Google::Cloud::Container::V1beta1::FastSocket
Returns
- (::Google::Cloud::Container::V1beta1::FastSocket) — Enable or disable NCCL fast socket for the node pool.
#fast_socket=
def fast_socket=(value) -> ::Google::Cloud::Container::V1beta1::FastSocket
Parameter
- value (::Google::Cloud::Container::V1beta1::FastSocket) — Enable or disable NCCL fast socket for the node pool.
Returns
- (::Google::Cloud::Container::V1beta1::FastSocket) — Enable or disable NCCL fast socket for the node pool.
#gcfs_config
def gcfs_config() -> ::Google::Cloud::Container::V1beta1::GcfsConfig
Returns
- (::Google::Cloud::Container::V1beta1::GcfsConfig) — GCFS config.
#gcfs_config=
def gcfs_config=(value) -> ::Google::Cloud::Container::V1beta1::GcfsConfig
Parameter
- value (::Google::Cloud::Container::V1beta1::GcfsConfig) — GCFS config.
Returns
- (::Google::Cloud::Container::V1beta1::GcfsConfig) — GCFS config.
#gvnic
def gvnic() -> ::Google::Cloud::Container::V1beta1::VirtualNIC
Returns
- (::Google::Cloud::Container::V1beta1::VirtualNIC) — Enable or disable gvnic on the node pool.
#gvnic=
def gvnic=(value) -> ::Google::Cloud::Container::V1beta1::VirtualNIC
Parameter
- value (::Google::Cloud::Container::V1beta1::VirtualNIC) — Enable or disable gvnic on the node pool.
Returns
- (::Google::Cloud::Container::V1beta1::VirtualNIC) — Enable or disable gvnic on the node pool.
#image_type
def image_type() -> ::String
Returns
- (::String) — Required. The desired image type for the node pool.
#image_type=
def image_type=(value) -> ::String
Parameter
- value (::String) — Required. The desired image type for the node pool.
Returns
- (::String) — Required. The desired image type for the node pool.
#kubelet_config
def kubelet_config() -> ::Google::Cloud::Container::V1beta1::NodeKubeletConfig
Returns
- (::Google::Cloud::Container::V1beta1::NodeKubeletConfig) — Node kubelet configs.
#kubelet_config=
def kubelet_config=(value) -> ::Google::Cloud::Container::V1beta1::NodeKubeletConfig
Parameter
- value (::Google::Cloud::Container::V1beta1::NodeKubeletConfig) — Node kubelet configs.
Returns
- (::Google::Cloud::Container::V1beta1::NodeKubeletConfig) — Node kubelet configs.
#labels
def labels() -> ::Google::Cloud::Container::V1beta1::NodeLabels
Returns
- (::Google::Cloud::Container::V1beta1::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.
#labels=
def labels=(value) -> ::Google::Cloud::Container::V1beta1::NodeLabels
Parameter
- value (::Google::Cloud::Container::V1beta1::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.
Returns
- (::Google::Cloud::Container::V1beta1::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.
#linux_node_config
def linux_node_config() -> ::Google::Cloud::Container::V1beta1::LinuxNodeConfig
Returns
- (::Google::Cloud::Container::V1beta1::LinuxNodeConfig) — Parameters that can be configured on Linux nodes.
#linux_node_config=
def linux_node_config=(value) -> ::Google::Cloud::Container::V1beta1::LinuxNodeConfig
Parameter
- value (::Google::Cloud::Container::V1beta1::LinuxNodeConfig) — Parameters that can be configured on Linux nodes.
Returns
- (::Google::Cloud::Container::V1beta1::LinuxNodeConfig) — Parameters that can be configured on Linux nodes.
#locations
def locations() -> ::Array<::String>
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.
#locations=
def locations=(value) -> ::Array<::String>
Parameter
- value (::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.
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.
#logging_config
def logging_config() -> ::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig
Returns
- (::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig) — Logging configuration.
#logging_config=
def logging_config=(value) -> ::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig
Parameter
- value (::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig) — Logging configuration.
Returns
- (::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig) — Logging configuration.
#name
def name() -> ::String
Returns
-
(::String) — The name (project, location, cluster, node pool) of the node pool to
update. Specified in the format
projects/*/locations/*/clusters/*/nodePools/*
.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — 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/*
.
#node_network_config
def node_network_config() -> ::Google::Cloud::Container::V1beta1::NodeNetworkConfig
Returns
- (::Google::Cloud::Container::V1beta1::NodeNetworkConfig) — Node network config.
#node_network_config=
def node_network_config=(value) -> ::Google::Cloud::Container::V1beta1::NodeNetworkConfig
Parameter
- value (::Google::Cloud::Container::V1beta1::NodeNetworkConfig) — Node network config.
Returns
- (::Google::Cloud::Container::V1beta1::NodeNetworkConfig) — Node network config.
#node_pool_id
def node_pool_id() -> ::String
Returns
- (::String) — Required. Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.
#node_pool_id=
def node_pool_id=(value) -> ::String
Parameter
- value (::String) — Required. Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.
Returns
- (::String) — Required. Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.