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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe webpage provides documentation for the \u003ccode\u003eNodeTaint\u003c/code\u003e class within the Google Kubernetes Engine v1 API, with the latest version being 3.33.0 and many previous versions being available.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNodeTaint\u003c/code\u003e is a class that represents a Kubernetes taint, which consists of a key, value, and an effect that can be \u003ccode\u003eNoSchedule\u003c/code\u003e, \u003ccode\u003ePreferNoSchedule\u003c/code\u003e, or \u003ccode\u003eNoExecute\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNodeTaint\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNodeTaint\u003c/code\u003e class has a default constructor \u003ccode\u003eNodeTaint()\u003c/code\u003e and a parameterized one \u003ccode\u003eNodeTaint(NodeTaint other)\u003c/code\u003e to generate a \u003ccode\u003eNodeTaint\u003c/code\u003e from another.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNodeTaint\u003c/code\u003e class has properties such as \u003ccode\u003eEffect\u003c/code\u003e, \u003ccode\u003eKey\u003c/code\u003e and \u003ccode\u003eValue\u003c/code\u003e, with \u003ccode\u003eEffect\u003c/code\u003e being a type of \u003ccode\u003eNodeTaint.Types.Effect\u003c/code\u003e and the other two being strings.\u003c/p\u003e\n"]]],[],null,[]]