NodeSpecPatch

data class NodeSpecPatch(val configSource: NodeConfigSourcePatch? = null, val externalID: String? = null, val podCIDR: String? = null, val podCIDRs: List<String>? = null, val providerID: String? = null, val taints: List<TaintPatch>? = null, val unschedulable: Boolean? = null)

NodeSpec describes the attributes that a node is created with.

Constructors

Link copied to clipboard
constructor(configSource: NodeConfigSourcePatch? = null, externalID: String? = null, podCIDR: String? = null, podCIDRs: List<String>? = null, providerID: String? = null, taints: List<TaintPatch>? = null, unschedulable: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed.

Link copied to clipboard
val externalID: String? = null

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

Link copied to clipboard
val podCIDR: String? = null

PodCIDR represents the pod IP range assigned to the node.

Link copied to clipboard
val podCIDRs: List<String>? = null

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.

Link copied to clipboard
val providerID: String? = null

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

Link copied to clipboard
val taints: List<TaintPatch>? = null

If specified, the node's taints.

Link copied to clipboard
val unschedulable: Boolean? = null

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