Class V1Taint
The node this Taint is attached to has the "effect" on any pod that does not
tolerate the Taint.
Assembly: KubernetesClient.dll
Syntax
public record V1Taint : IEquatable<V1Taint>
Constructors
V1Taint()
Declaration
V1Taint(V1Taint)
Declaration
protected V1Taint(V1Taint original)
Parameters
| Type |
Name |
Description |
| V1Taint |
original |
|
Properties
Effect
Required. The effect of the taint on pods that do not tolerate the taint. Valid
effects are NoSchedule, PreferNoSchedule and NoExecute.
Declaration
[JsonPropertyName("effect")]
public string Effect { get; set; }
Property Value
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Key
Required. The taint key to be applied to a node.
Declaration
[JsonPropertyName("key")]
public string Key { get; set; }
Property Value
TimeAdded
TimeAdded represents the time at which the taint was added.
Declaration
[JsonPropertyName("timeAdded")]
public DateTime? TimeAdded { get; set; }
Property Value
Value
The taint value corresponding to the taint key.
Declaration
[JsonPropertyName("value")]
public string Value { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1Taint?)
Declaration
public virtual bool Equals(V1Taint? other)
Parameters
| Type |
Name |
Description |
| V1Taint |
other |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(V1Taint?, V1Taint?)
Declaration
public static bool operator ==(V1Taint? left, V1Taint? right)
Parameters
Returns
operator !=(V1Taint?, V1Taint?)
Declaration
public static bool operator !=(V1Taint? left, V1Taint? right)
Parameters
Returns
Implements