NodeSpec describes the attributes that a node is created with.

Hierarchy

  • V1NodeSpec

Constructors

Properties

configSource?: V1NodeConfigSource
externalID?: string

Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966

podCIDR?: string

PodCIDR represents the pod IP range assigned to the node.

podCIDRs?: string[]

podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.

providerID?: string

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

taints?: V1Taint[]

If specified, the node's taints.

unschedulable?: boolean

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

attributeTypeMap: {
    baseName: string;
    name: string;
    type: string;
}[] = ...

Type declaration

  • baseName: string
  • name: string
  • type: string
discriminator: undefined | string = undefined

Methods

  • Returns {
        baseName: string;
        name: string;
        type: string;
    }[]

Generated using TypeDoc