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 latest version of the Google Cloud Container V1 API is 3.33.0, but the current page details version 3.19.0, and there are several other versions available to access, spanning all the way to 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNodeTaint\u003c/code\u003e is a class in the Google Kubernetes Engine v1 API, and represents a Kubernetes taint with key, value, and effect fields, with three potential effects.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNodeTaint\u003c/code\u003e class implements interfaces such as \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 includes properties for \u003ccode\u003eEffect\u003c/code\u003e, \u003ccode\u003eKey\u003c/code\u003e, and \u003ccode\u003eValue\u003c/code\u003e, representing the components of a Kubernetes taint.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for \u003ccode\u003eNodeTaint\u003c/code\u003e, one default and another for creating a \u003ccode\u003eNodeTaint\u003c/code\u003e object from an existing \u003ccode\u003eNodeTaint\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,[]]