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
View Source
V1Taint()
Declaration
View Source
V1Taint(V1Taint)
Declaration
protected V1Taint(V1Taint original)
Parameters
| Type |
Name |
Description |
| V1Taint |
original |
|
Properties
View Source
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
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
Key
Required. The taint key to be applied to a node.
Declaration
[JsonPropertyName("key")]
public string Key { get; set; }
Property Value
View Source
TimeAdded
TimeAdded represents the time at which the taint was added.
Declaration
[JsonPropertyName("timeAdded")]
public DateTime? TimeAdded { get; set; }
Property Value
View Source
Value
The taint value corresponding to the taint key.
Declaration
[JsonPropertyName("value")]
public string Value { get; set; }
Property Value
Methods
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
Equals(V1Taint?)
Declaration
public virtual bool Equals(V1Taint? other)
Parameters
| Type |
Name |
Description |
| V1Taint |
other |
|
Returns
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
View Source
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
View Source
operator ==(V1Taint?, V1Taint?)
Declaration
public static bool operator ==(V1Taint? left, V1Taint? right)
Parameters
Returns
View Source
operator !=(V1Taint?, V1Taint?)
Declaration
public static bool operator !=(V1Taint? left, V1Taint? right)
Parameters
Returns
Implements