Taint

data class Taint(val effect: String, val key: String, val timeAdded: String? = null, val value: String? = null)

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

Constructors

Link copied to clipboard
constructor(effect: String, key: String, timeAdded: String? = null, value: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard
val key: String

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

Link copied to clipboard
val timeAdded: String? = null

TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.

Link copied to clipboard
val value: String? = null

The taint value corresponding to the taint key.