case class NodeSpec(configSource: Optional[NodeConfigSource] = Optional.Absent, externalID: Optional[String] = Optional.Absent, podCIDR: Optional[String] = Optional.Absent, podCIDRs: Optional[Vector[String]] = Optional.Absent, providerID: Optional[String] = Optional.Absent, taints: Optional[Vector[Taint]] = Optional.Absent, unschedulable: Optional[Boolean] = Optional.Absent) extends Product with Serializable
NodeSpec describes the attributes that a node is created with.
- 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
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
NodeSpec(configSource: Optional[NodeConfigSource] = Optional.Absent, externalID: Optional[String] = Optional.Absent, podCIDR: Optional[String] = Optional.Absent, podCIDRs: Optional[Vector[String]] = Optional.Absent, providerID: Optional[String] = Optional.Absent, taints: Optional[Vector[Taint]] = Optional.Absent, unschedulable: Optional[Boolean] = Optional.Absent)
- 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( ... ) @native() @HotSpotIntrinsicCandidate()
- val configSource: Optional[NodeConfigSource]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val externalID: Optional[String]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getConfigSource: IO[K8sFailure, NodeConfigSource]
Gets configSource.
Gets configSource.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getExternalID: IO[K8sFailure, String]
Deprecated.
Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getPodCIDR: IO[K8sFailure, String]
PodCIDR represents the pod IP range assigned to the node.
PodCIDR represents the pod IP range assigned to the node.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getPodCIDRs: IO[K8sFailure, Vector[String]]
podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node.
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.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getProviderID: IO[K8sFailure, String]
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getTaints: IO[K8sFailure, Vector[Taint]]
If specified, the node's taints.
If specified, the node's taints.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getUnschedulable: IO[K8sFailure, Boolean]
Unschedulable controls node schedulability of new pods.
Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
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: Optional[String]
- val podCIDRs: Optional[Vector[String]]
- val providerID: Optional[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val taints: Optional[Vector[Taint]]
- val unschedulable: Optional[Boolean]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated