Show / Hide Table of Contents

Class V1JobSchedulingConfiguration

JobSchedulingConfiguration composes the reusable workload-aware scheduling building blocks.

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

Constructors

V1JobSchedulingConfiguration()

Declaration
public V1JobSchedulingConfiguration()

V1JobSchedulingConfiguration(V1JobSchedulingConfiguration)

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

Properties

DisruptionMode

DisruptionMode defines the mode in which the Job's pods can be disrupted. One of Single, All. This field is immutable after creation: it may not be added or removed, and the selected mode may not be changed.

Declaration
[JsonPropertyName("disruptionMode")]
public V1alpha3WorkloadPodGroupDisruptionMode DisruptionMode { get; set; }
Property Value
Type Description
V1alpha3WorkloadPodGroupDisruptionMode

EqualityContract

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

ResourceClaims

ResourceClaims defines which ResourceClaims may be shared among Pods in the Job. Pods consume the devices allocated to a PodGroup's claim by defining a claim in its own Spec.ResourceClaims that matches the PodGroup's claim exactly. The claim must have the same name and refer to the same ResourceClaim or ResourceClaimTemplate. At most 4 claims may be set, matching the limit on the resulting PodGroup. This list is immutable after creation: entries may neither be added, removed, nor modified.

Declaration
[JsonPropertyName("resourceClaims")]
public IList<V1alpha3WorkloadPodGroupResourceClaim> ResourceClaims { get; set; }
Property Value
Type Description
IList<V1alpha3WorkloadPodGroupResourceClaim>

SchedulingConstraints

SchedulingConstraints defines scheduling constraints (e.g. topology) for the Job's pods. This field is immutable after creation.

Declaration
[JsonPropertyName("schedulingConstraints")]
public V1alpha3WorkloadPodGroupSchedulingConstraints SchedulingConstraints { get; set; }
Property Value
Type Description
V1alpha3WorkloadPodGroupSchedulingConstraints

SchedulingPolicy

SchedulingPolicy defines the scheduling policy for this Job. Exactly one of Basic or Gang must be set. This field is immutable after creation: the policy may not be added or removed. The policy variant (basic/gang) is frozen by hand-written validation; only schedulingPolicy.gang.minCount may be changed.

Declaration
[JsonPropertyName("schedulingPolicy")]
public V1alpha3WorkloadPodGroupSchedulingPolicy SchedulingPolicy { get; set; }
Property Value
Type Description
V1alpha3WorkloadPodGroupSchedulingPolicy

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(V1JobSchedulingConfiguration?)

Declaration
public virtual bool Equals(V1JobSchedulingConfiguration? other)
Parameters
Type Name Description
V1JobSchedulingConfiguration 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 ==(V1JobSchedulingConfiguration?, V1JobSchedulingConfiguration?)

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

operator !=(V1JobSchedulingConfiguration?, V1JobSchedulingConfiguration?)

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

Implements

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