Taint

case class Taint(effect: String, key: String, timeAdded: Optional[Time], value: Optional[String])

The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.

The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.

Value Params
effect

Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.

key

Required. The taint key to be applied to a node.

value

The taint value corresponding to the taint key.

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

Value members

Concrete methods

def getEffect: IO[K8sFailure, String]

Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.

Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.

This effect always succeeds, it is safe to use the field effect directly.

def getKey: IO[K8sFailure, String]

Required. The taint key to be applied to a node.

Required. The taint key to be applied to a node.

This effect always succeeds, it is safe to use the field key directly.

Gets timeAdded.

Gets timeAdded.

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

def getValue: IO[K8sFailure, String]

The taint value corresponding to the taint key.

The taint value corresponding to the taint key.

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