NodeSpec

case
class NodeSpec(configSource: Optional[NodeConfigSource], externalID: Optional[String], podCIDR: Optional[String], podCIDRs: Optional[Vector[String]], providerID: Optional[String], taints: Optional[Vector[Taint]], unschedulable: Optional[Boolean])

NodeSpec describes the attributes that a node is created with.

Value Params
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: ://

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

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Gets configSource.

Gets configSource.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getExternalID: IO[K8sFailure, String]

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

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. 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.

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: ://

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

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. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration

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.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product