Class V1alpha3CompositePodGroupSpec
CompositePodGroupSpec defines the desired state of CompositePodGroup.
Inheritance
V1alpha3CompositePodGroupSpec
Assembly: KubernetesClient.dll
Syntax
public record V1alpha3CompositePodGroupSpec : IEquatable<V1alpha3CompositePodGroupSpec>
Constructors
V1alpha3CompositePodGroupSpec()
Declaration
public V1alpha3CompositePodGroupSpec()
V1alpha3CompositePodGroupSpec(V1alpha3CompositePodGroupSpec)
Declaration
protected V1alpha3CompositePodGroupSpec(V1alpha3CompositePodGroupSpec original)
Parameters
Properties
DisruptionMode
disruptionMode defines the mode in which a given CompositePodGroup can be
disrupted. Controllers are expected to fill this field by copying it from a
CompositePodGroupTemplate. One of Single, All. Defaults to Single if unset. This
field is immutable.
Declaration
[JsonPropertyName("disruptionMode")]
public V1alpha3CompositeDisruptionMode DisruptionMode { get; set; }
Property Value
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
ParentCompositePodGroupName
parentCompositePodGroupName contains the name of the parent composite pod group
within the same namespace as this composite pod group. It must be a DNS name. If
it's nil, then this composite pod group is a root of a workload's hierarchy.
This field is immutable.
Declaration
[JsonPropertyName("parentCompositePodGroupName")]
public string ParentCompositePodGroupName { get; set; }
Property Value
PreemptionPolicy
preemptionPolicy is the Policy for preempting pods/podgroups with lower
priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority
if unset. When Priority Admission Controller is enabled, it populates this field
from PriorityClassName, and defaults to PreemptLowerPriority if value is unset
in PriorityClass. This field is immutable. This field is available only when the
PodGroupPreemptionPolicy feature gate is enabled.
Declaration
[JsonPropertyName("preemptionPolicy")]
public string PreemptionPolicy { get; set; }
Property Value
Priority
priority is the value of priority of this composite pod group. Various system
components use this field to find the priority of the composite pod group. When
Priority Admission Controller is enabled, it prevents users from setting this
field. The admission controller populates this field from PriorityClassName. The
higher the value, the higher the priority. This field is immutable.
Declaration
[JsonPropertyName("priority")]
public int? Priority { get; set; }
Property Value
PriorityClassName
priorityClassName defines the priority that should be considered when scheduling
this CompositePodGroup. Controllers are expected to fill this field by copying
it from a CompositePodGroupTemplate. If left unspecified, it is validated and
resolved similarly to the PriorityClassName field in Pods (i.e. if no priority
class is specified, admission control can set this to the global default
priority class if it exists. Otherwise, the composite pod group's priority will
be zero). This field is immutable.
Declaration
[JsonPropertyName("priorityClassName")]
public string PriorityClassName { get; set; }
Property Value
SchedulingConstraints
schedulingConstraints defines optional scheduling constraints (e.g. topology)
for this CompositePodGroup. Controllers are expected to fill this field by
copying it from a CompositePodGroupTemplate. This field is immutable.
Declaration
[JsonPropertyName("schedulingConstraints")]
public V1alpha3CompositePodGroupSchedulingConstraints SchedulingConstraints { get; set; }
Property Value
SchedulingPolicy
schedulingPolicy defines the scheduling policy for this instance of the
CompositePodGroup. Controllers are expected to fill this field by copying it
from a CompositePodGroupTemplate. This field is immutable.
Declaration
[JsonPropertyName("schedulingPolicy")]
public V1alpha3CompositePodGroupSchedulingPolicy SchedulingPolicy { get; set; }
Property Value
WorkloadRef
workloadRef references an optional CompositePodGroup template within the
Workload object that was used to create the CompositePodGroup. This field is
required. This field is immutable.
Declaration
[JsonPropertyName("workloadRef")]
public V1alpha3WorkloadReference WorkloadRef { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1alpha3CompositePodGroupSpec?)
Declaration
public virtual bool Equals(V1alpha3CompositePodGroupSpec? 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 ==(V1alpha3CompositePodGroupSpec?, V1alpha3CompositePodGroupSpec?)
Declaration
public static bool operator ==(V1alpha3CompositePodGroupSpec? left, V1alpha3CompositePodGroupSpec? right)
Parameters
Returns
operator !=(V1alpha3CompositePodGroupSpec?, V1alpha3CompositePodGroupSpec?)
Declaration
public static bool operator !=(V1alpha3CompositePodGroupSpec? left, V1alpha3CompositePodGroupSpec? right)
Parameters
Returns
Implements