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 available for the Google.Cloud.Container.V1 NodeTaint API is 3.33.0, and a range of previous versions are documented, spanning from 3.32.0 down to 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003eNodeTaint is a class within the Google Kubernetes Engine v1 API used to manage Kubernetes taints, which include a key, value, and effect.\u003c/p\u003e\n"],["\u003cp\u003eThe Effect property of a NodeTaint can only be one of three types: NoSchedule, PreferNoSchedule, or NoExecute, which determine how the taint affects scheduling.\u003c/p\u003e\n"],["\u003cp\u003eThe NodeTaint class includes properties for setting the \u003ccode\u003eEffect\u003c/code\u003e, \u003ccode\u003eKey\u003c/code\u003e, and \u003ccode\u003eValue\u003c/code\u003e, which are essential components of a Kubernetes taint.\u003c/p\u003e\n"],["\u003cp\u003eThe NodeTaint class inherits from the base \u003ccode\u003eobject\u003c/code\u003e class and implements several 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"]]],[],null,[]]