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 \u003ccode\u003eNodeTaint\u003c/code\u003e within the Google Cloud Container V1 API is 3.33.0, while the current page focuses on version 3.16.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNodeTaint\u003c/code\u003e is a class in the \u003ccode\u003eGoogle.Cloud.Container.V1\u003c/code\u003e namespace used within Google Kubernetes Engine to define Kubernetes taints with three components: key, value, and effect.\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 are created using either a default constructor or by passing in an existing \u003ccode\u003eNodeTaint\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eNodeTaint\u003c/code\u003e has properties such as \u003ccode\u003eEffect\u003c/code\u003e, \u003ccode\u003eKey\u003c/code\u003e, and \u003ccode\u003eValue\u003c/code\u003e, allowing configuration of taint properties.\u003c/p\u003e\n"]]],[],null,[]]