Class V1alpha3WorkloadSpec
WorkloadSpec defines the desired state of a Workload.
Inheritance
V1alpha3WorkloadSpec
Assembly: KubernetesClient.dll
Syntax
public record V1alpha3WorkloadSpec : IEquatable<V1alpha3WorkloadSpec>
Constructors
V1alpha3WorkloadSpec()
Declaration
public V1alpha3WorkloadSpec()
V1alpha3WorkloadSpec(V1alpha3WorkloadSpec)
Declaration
protected V1alpha3WorkloadSpec(V1alpha3WorkloadSpec original)
Parameters
Properties
CompositePodGroupTemplates
compositePodGroupTemplates is the list of CompositePodGroup templates that make
up the Workload. The maximum number of templates is 8. This field is immutable.
Exactly one of CompositePodGroupTemplates and PodGroupTemplates must be set.
This field is used only when the CompositePodGroup feature gate is enabled.
Declaration
[JsonPropertyName("compositePodGroupTemplates")]
public IList<V1alpha3CompositePodGroupTemplate> CompositePodGroupTemplates { get; set; }
Property Value
ControllerRef
controllerRef is an optional reference to the controlling object, such as a
Deployment or Job. This field is intended for use by tools like CLIs to provide
a link back to the original workload definition. This field is immutable.
Declaration
[JsonPropertyName("controllerRef")]
public V1alpha3TypedLocalObjectReference ControllerRef { get; set; }
Property Value
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
PodGroupTemplates
podGroupTemplates is the list of templates that make up the Workload. The
maximum number of templates is 8. Templates cannot be added or removed after the
workload is created. Existing templates may still be updated where their
individual fields allow it. Exactly one of CompositePodGroupTemplates and
PodGroupTemplates must be set.
Declaration
[JsonPropertyName("podGroupTemplates")]
public IList<V1alpha3PodGroupTemplate> PodGroupTemplates { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1alpha3WorkloadSpec?)
Declaration
public virtual bool Equals(V1alpha3WorkloadSpec? 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 ==(V1alpha3WorkloadSpec?, V1alpha3WorkloadSpec?)
Declaration
public static bool operator ==(V1alpha3WorkloadSpec? left, V1alpha3WorkloadSpec? right)
Parameters
Returns
operator !=(V1alpha3WorkloadSpec?, V1alpha3WorkloadSpec?)
Declaration
public static bool operator !=(V1alpha3WorkloadSpec? left, V1alpha3WorkloadSpec? right)
Parameters
Returns
Implements