Show / Hide Table of Contents

Class V1Scheduling

Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.

Inheritance
object
V1Scheduling
Implements
IEquatable<V1Scheduling>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1Scheduling : IEquatable<V1Scheduling>

Constructors

View Source

V1Scheduling()

Declaration
public V1Scheduling()
View Source

V1Scheduling(V1Scheduling)

Declaration
protected V1Scheduling(V1Scheduling original)
Parameters
Type Name Description
V1Scheduling original

Properties

View Source

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type
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
Type Description
IDictionary<string, string>
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
Type Description
IList<V1Toleration>

Methods

View Source

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
View Source

Equals(V1Scheduling?)

Declaration
public virtual bool Equals(V1Scheduling? other)
Parameters
Type Name Description
V1Scheduling other
Returns
Type Description
bool
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
View Source

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool
View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

View Source

operator ==(V1Scheduling?, V1Scheduling?)

Declaration
public static bool operator ==(V1Scheduling? left, V1Scheduling? right)
Parameters
Type Name Description
V1Scheduling left
V1Scheduling right
Returns
Type Description
bool
View Source

operator !=(V1Scheduling?, V1Scheduling?)

Declaration
public static bool operator !=(V1Scheduling? left, V1Scheduling? right)
Parameters
Type Name Description
V1Scheduling left
V1Scheduling right
Returns
Type Description
bool

Implements

IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX