Reference documentation and code samples for the Google Kubernetes Engine v1 API class NodeTaint.
Kubernetes taint is composed of three fields: key, value, and effect. Effect
can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
See
here
for more information, including usage and the valid values.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-09 UTC."],[[["The `NodeTaint` class in the Google Kubernetes Engine v1 API is documented across multiple versions, from 2.3.0 to the latest version 3.33.0, with the current page focused on version 3.32.0."],["`NodeTaint` represents a Kubernetes taint, consisting of a key, value, and effect, where the effect can be NoSchedule, PreferNoSchedule, or NoExecute."],["The `NodeTaint` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class has properties for `Effect`, `Key`, and `Value`, allowing users to set and retrieve the taint's specific characteristics."],["There are two constructors, one a default constructor and the other taking a `NodeTaint` parameter, allowing for the creation and duplication of the object."]]],[]]