Show / Hide Table of Contents

Class V1beta1GangSchedulingPolicy

GangSchedulingPolicy defines the parameters for gang scheduling.

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

Constructors

V1beta1GangSchedulingPolicy()

Declaration
public V1beta1GangSchedulingPolicy()

V1beta1GangSchedulingPolicy(V1beta1GangSchedulingPolicy)

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

Properties

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type

MinCount

minCount is the minimum number of pods that must be schedulable or scheduled at the same time for the scheduler to admit the entire group. It must be a positive integer. This field is mutable to support workload scaling.

Note that the scheduler operates on an eventually consistent model. Updates to minCount may not be immediately reflected in scheduling decisions due to propagation delays. If minCount is updated while a scheduling cycle is in progress for that group, the new value may not take effect until the next cycle. Moreover, minCount is only enforced during scheduling, meaning that modifications to this field do not affect already-scheduled pods, applying only to those evaluated in future cycles.

Declaration
[JsonPropertyName("minCount")]
public int MinCount { get; set; }
Property Value
Type Description
int

Methods

Equals(object?)

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

Equals(V1beta1GangSchedulingPolicy?)

Declaration
public virtual bool Equals(V1beta1GangSchedulingPolicy? other)
Parameters
Type Name Description
V1beta1GangSchedulingPolicy other
Returns
Type Description
bool

GetHashCode()

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

PrintMembers(StringBuilder)

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

ToString()

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

Operators

operator ==(V1beta1GangSchedulingPolicy?, V1beta1GangSchedulingPolicy?)

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

operator !=(V1beta1GangSchedulingPolicy?, V1beta1GangSchedulingPolicy?)

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

Implements

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