Struct google_container1::NodePool
source · pub struct NodePool {
pub status: Option<String>,
pub management: Option<NodeManagement>,
pub name: Option<String>,
pub instance_group_urls: Option<Vec<String>>,
pub autoscaling: Option<NodePoolAutoscaling>,
pub version: Option<String>,
pub initial_node_count: Option<i32>,
pub status_message: Option<String>,
pub config: Option<NodeConfig>,
pub self_link: Option<String>,
}Expand description
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.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations clusters node pools get projects (response)
- zones clusters node pools get projects (response)
Fields§
§status: Option<String>[Output only] The status of the nodes in this pool instance.
management: Option<NodeManagement>NodeManagement configuration for this NodePool.
name: Option<String>The name of the node pool.
instance_group_urls: Option<Vec<String>>[Output only] The resource URLs of the managed instance groups associated with this node pool.
autoscaling: Option<NodePoolAutoscaling>Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
version: Option<String>The version of the Kubernetes of this node.
initial_node_count: Option<i32>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.
status_message: Option<String>[Output only] Additional information about the current status of this node pool instance, if available.
config: Option<NodeConfig>The node configuration of the pool.
self_link: Option<String>[Output only] Server-defined URL for the resource.
Trait Implementations§
source§impl<'de> Deserialize<'de> for NodePool
impl<'de> Deserialize<'de> for NodePool
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl ResponseResult for NodePool
Auto Trait Implementations§
impl Freeze for NodePool
impl RefUnwindSafe for NodePool
impl Send for NodePool
impl Sync for NodePool
impl Unpin for NodePool
impl UnwindSafe for NodePool
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more