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-03-21 UTC."],[[["The `NodeTaint` class in the Google Kubernetes Engine v1 API represents a Kubernetes taint, which is composed of a key, a value, and an effect."],["The latest version of the Google Cloud Container API is 3.33.0, while the current page details version 3.25.0 and the documentation provides access to versions ranging from 3.0.0 to 3.33.0."],["`NodeTaint` implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, supporting various functionalities like deep cloning and message handling."],["The `NodeTaint` class includes properties like `Effect`, `Key`, and `Value`, allowing users to define and manage the taint's characteristics."],["The effect of a Kubernetes taint can only be one of three types: `NoSchedule`, `PreferNoSchedule`, or `NoExecute`, which determine how pods are scheduled onto nodes."]]],[]]