Google Kubernetes Engine v1 API - Class NodeTaint (3.21.0)

public sealed class NodeTaint : IMessage<NodeTaint>, IEquatable<NodeTaint>, IDeepCloneable<NodeTaint>, IBufferMessage, IMessage

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.

Inheritance

object > NodeTaint

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Constructors

NodeTaint()

public NodeTaint()

NodeTaint(NodeTaint)

public NodeTaint(NodeTaint other)
Parameter
NameDescription
otherNodeTaint

Properties

Effect

public NodeTaint.Types.Effect Effect { get; set; }

Effect for taint.

Property Value
TypeDescription
NodeTaintTypesEffect

Key

public string Key { get; set; }

Key for taint.

Property Value
TypeDescription
string

Value

public string Value { get; set; }

Value for taint.

Property Value
TypeDescription
string