Class V1alpha3PodGroupSchedulingPolicy
PodGroupSchedulingPolicy defines the scheduling configuration for a PodGroup.
Exactly one policy must be set. The policy is chosen at creation time by setting
either the Basic or Gang field. The PodGroup may not change policy after
creation. Fields within chosen policy may be updated after creation when their
individual fields allow it.
Inheritance
V1alpha3PodGroupSchedulingPolicy
Assembly: KubernetesClient.dll
Syntax
public record V1alpha3PodGroupSchedulingPolicy : IEquatable<V1alpha3PodGroupSchedulingPolicy>
Constructors
V1alpha3PodGroupSchedulingPolicy()
Declaration
public V1alpha3PodGroupSchedulingPolicy()
V1alpha3PodGroupSchedulingPolicy(V1alpha3PodGroupSchedulingPolicy)
Declaration
protected V1alpha3PodGroupSchedulingPolicy(V1alpha3PodGroupSchedulingPolicy original)
Parameters
Properties
Basic
basic specifies that the pods in this group should be scheduled using standard
Kubernetes scheduling behavior. Setting this field at group creation time opts
this group to basic scheduling; this field cannot be changed afterward.
Declaration
[JsonPropertyName("basic")]
public object Basic { get; set; }
Property Value
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Gang
gang specifies that the pods in this group should be scheduled using
all-or-nothing semantics. Setting this field at group creation time opts this
group to gang scheduling; this field cannot be set or unset afterward. The
minCount field within Gang scheduling policy remains mutable after group
creation.
Declaration
[JsonPropertyName("gang")]
public V1alpha3GangSchedulingPolicy Gang { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1alpha3PodGroupSchedulingPolicy?)
Declaration
public virtual bool Equals(V1alpha3PodGroupSchedulingPolicy? 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 ==(V1alpha3PodGroupSchedulingPolicy?, V1alpha3PodGroupSchedulingPolicy?)
Declaration
public static bool operator ==(V1alpha3PodGroupSchedulingPolicy? left, V1alpha3PodGroupSchedulingPolicy? right)
Parameters
Returns
operator !=(V1alpha3PodGroupSchedulingPolicy?, V1alpha3PodGroupSchedulingPolicy?)
Declaration
public static bool operator !=(V1alpha3PodGroupSchedulingPolicy? left, V1alpha3PodGroupSchedulingPolicy? right)
Parameters
Returns
Implements