Reference documentation and code samples for the Google Kubernetes Engine v1 API class NodeTaint.
Kubernetes taint is comprised 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 \u003ccode\u003eNodeTaint\u003c/code\u003e class is 3.33.0, but this page is currently displaying version 3.6.0, and there are several other versions available to choose from in a descending order from the latest.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNodeTaint\u003c/code\u003e is a class within the Google Kubernetes Engine v1 API, specifically in the \u003ccode\u003eGoogle.Cloud.Container.V1\u003c/code\u003e namespace, represented in the assembly \u003ccode\u003eGoogle.Cloud.Container.V1.dll\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class represents a Kubernetes taint, which is comprised of three fields: key, value, and effect, with effect being limited to NoSchedule, PreferNoSchedule, or NoExecute.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNodeTaint\u003c/code\u003e class 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, and inherits from \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNodeTaint\u003c/code\u003e objects can be constructed using the default constructor or a copy constructor, and has properties for \u003ccode\u003eEffect\u003c/code\u003e, \u003ccode\u003eKey\u003c/code\u003e, and \u003ccode\u003eValue\u003c/code\u003e that define the attributes of the Kubernetes taint.\u003c/p\u003e\n"]]],[],null,[]]