case class NodeSpec(configSource: Option[NodeConfigSource] = None, externalID: Option[String] = None, podCIDR: Option[String] = None, podCIDRs: Option[Seq[String]] = None, providerID: Option[String] = None, taints: Option[Seq[Taint]] = None, unschedulable: Option[Boolean] = None) extends Product with Serializable
NodeSpec describes the attributes that a node is created with.
- configSource
Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed from Kubelets as of 1.24 and will be fully removed in 1.26.
- externalID
Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966
- podCIDR
PodCIDR represents the pod IP range assigned to the node.
- podCIDRs
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
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>
- taints
If specified, the node's taints.
- unschedulable
Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration
- Alphabetic
- By Inheritance
- NodeSpec
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new NodeSpec(configSource: Option[NodeConfigSource] = None, externalID: Option[String] = None, podCIDR: Option[String] = None, podCIDRs: Option[Seq[String]] = None, providerID: Option[String] = None, taints: Option[Seq[Taint]] = None, unschedulable: Option[Boolean] = None)
- configSource
Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed from Kubelets as of 1.24 and will be fully removed in 1.26.
- externalID
Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966
- podCIDR
PodCIDR represents the pod IP range assigned to the node.
- podCIDRs
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
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>
- taints
If specified, the node's taints.
- unschedulable
Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val configSource: Option[NodeConfigSource]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val externalID: Option[String]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val podCIDR: Option[String]
- val podCIDRs: Option[Seq[String]]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val providerID: Option[String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val taints: Option[Seq[Taint]]
- val unschedulable: Option[Boolean]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated