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, composed of a key, value, and effect which are used to control scheduling and execution of pods, according to the Kubernetes documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNodeTaint\u003c/code\u003e class 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, and is built into the \u003ccode\u003eGoogle.Cloud.Container.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains properties for \u003ccode\u003eEffect\u003c/code\u003e, \u003ccode\u003eKey\u003c/code\u003e, and \u003ccode\u003eValue\u003c/code\u003e, representing the three fundamental components of a Kubernetes taint and each of these properties are able to be set.\u003c/p\u003e\n"],["\u003cp\u003eThe page details the public constructors of \u003ccode\u003eNodeTaint\u003c/code\u003e, the default \u003ccode\u003eNodeTaint()\u003c/code\u003e constructor, and \u003ccode\u003eNodeTaint(NodeTaint other)\u003c/code\u003e constructor, which is used to create a clone of another instance.\u003c/p\u003e\n"]]],[],null,[]]