Skip to content

core.v1.taint

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

Index

Fields

fn withEffect

withEffect(effect)

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

fn withKey

withKey(key)

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

fn withTimeAdded

withTimeAdded(timeAdded)

"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."

fn withValue

withValue(value)

"The taint value corresponding to the taint key."