Class V1beta2DeviceTaint
The device this taint is attached to has the "effect" on any claim which does
not tolerate the taint and, through the claim, to pods using the claim.
Inheritance
V1beta2DeviceTaint
Assembly: KubernetesClient.dll
Syntax
public record V1beta2DeviceTaint : IEquatable<V1beta2DeviceTaint>
Constructors
V1beta2DeviceTaint()
Declaration
public V1beta2DeviceTaint()
V1beta2DeviceTaint(V1beta2DeviceTaint)
Declaration
protected V1beta2DeviceTaint(V1beta2DeviceTaint original)
Parameters
Properties
Effect
The effect of the taint on claims that do not tolerate the taint and through
such claims on the pods using them.
Valid effects are None, NoSchedule and NoExecute. PreferNoSchedule as used for
nodes is not valid here. More effects may get added in the future. Consumers
must treat unknown effects like None.
Declaration
[JsonPropertyName("effect")]
public string Effect { get; set; }
Property Value
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Key
The taint key to be applied to a device. Must be a label name.
Declaration
[JsonPropertyName("key")]
public string Key { get; set; }
Property Value
TimeAdded
TimeAdded represents the time at which the taint was added or (only in a
DeviceTaintRule) the effect was modified. Added automatically during create or
update if not set.
In addition, in a DeviceTaintRule a value provided during an update gets
replaced with the current time if the provided value is the same as the old one
and the new effect is different. Changing the key and/or value while keeping the
effect unchanged is possible and does not update the time stamp because the
eviction which uses it is either already started (NoExecute) or not started yet
(NoEffect, NoSchedule).
Declaration
[JsonPropertyName("timeAdded")]
public DateTime? TimeAdded { get; set; }
Property Value
Value
The taint value corresponding to the taint key. Must be a label value.
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(V1beta2DeviceTaint?)
Declaration
public virtual bool Equals(V1beta2DeviceTaint? other)
Parameters
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 ==(V1beta2DeviceTaint?, V1beta2DeviceTaint?)
Declaration
public static bool operator ==(V1beta2DeviceTaint? left, V1beta2DeviceTaint? right)
Parameters
Returns
operator !=(V1beta2DeviceTaint?, V1beta2DeviceTaint?)
Declaration
public static bool operator !=(V1beta2DeviceTaint? left, V1beta2DeviceTaint? right)
Parameters
Returns
Implements