Class V1Scheduling
Scheduling specifies the scheduling constraints for nodes supporting a
RuntimeClass.
Assembly: KubernetesClient.dll
Syntax
public record V1Scheduling : IEquatable<V1Scheduling>
Constructors
View Source
V1Scheduling()
Declaration
View Source
V1Scheduling(V1Scheduling)
Declaration
protected V1Scheduling(V1Scheduling original)
Parameters
Properties
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
NodeSelector
nodeSelector lists labels that must be present on nodes that support this
RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node
matched by this selector. The RuntimeClass nodeSelector is merged with a pod's
existing nodeSelector. Any conflicts will cause the pod to be rejected in
admission.
Declaration
[JsonPropertyName("nodeSelector")]
public IDictionary<string, string> NodeSelector { get; set; }
Property Value
View Source
Tolerations
tolerations are appended (excluding duplicates) to pods running with this
RuntimeClass during admission, effectively unioning the set of nodes tolerated
by the pod and the RuntimeClass.
Declaration
[JsonPropertyName("tolerations")]
public IList<V1Toleration> Tolerations { 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(V1Scheduling?)
Declaration
public virtual bool Equals(V1Scheduling? other)
Parameters
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 ==(V1Scheduling?, V1Scheduling?)
Declaration
public static bool operator ==(V1Scheduling? left, V1Scheduling? right)
Parameters
Returns
View Source
operator !=(V1Scheduling?, V1Scheduling?)
Declaration
public static bool operator !=(V1Scheduling? left, V1Scheduling? right)
Parameters
Returns
Implements