DeviceTaint

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

The device this taint is attached to has the "effect" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.

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

The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.

Link copied to clipboard
val key: String

The taint key to be applied to a device. Must be a label name.

Link copied to clipboard
val timeAdded: String? = null

TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.

Link copied to clipboard
val value: String? = null

The taint value corresponding to the taint key. Must be a label value.