Struct k8s_openapi::v1_7::kubernetes::pkg::api::v1::NodeSpec[][src]

pub struct NodeSpec {
    pub external_id: Option<String>,
    pub pod_cidr: Option<String>,
    pub provider_id: Option<String>,
    pub taints: Option<Vec<Taint>>,
    pub unschedulable: Option<bool>,
}

NodeSpec describes the attributes that a node is created with.

Fields

External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated.

PodCIDR represents the pod IP range assigned to the node.

ID of the node assigned by the cloud provider in the format: ://

If specified, the node's taints.

Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration

Trait Implementations

impl Clone for NodeSpec
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for NodeSpec
[src]

Formats the value using the given formatter. Read more

impl Default for NodeSpec
[src]

Returns the "default value" for a type. Read more

impl PartialEq for NodeSpec
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'de> Deserialize<'de> for NodeSpec
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for NodeSpec
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for NodeSpec

impl Sync for NodeSpec