Class V1alpha3CompositePodGroupTemplate
CompositePodGroupTemplate represents a template for a CompositePodGroup with a
scheduling policy.
Inheritance
V1alpha3CompositePodGroupTemplate
Assembly: KubernetesClient.dll
Syntax
public record V1alpha3CompositePodGroupTemplate : IEquatable<V1alpha3CompositePodGroupTemplate>
Constructors
V1alpha3CompositePodGroupTemplate()
Declaration
public V1alpha3CompositePodGroupTemplate()
V1alpha3CompositePodGroupTemplate(V1alpha3CompositePodGroupTemplate)
Declaration
protected V1alpha3CompositePodGroupTemplate(V1alpha3CompositePodGroupTemplate original)
Parameters
Properties
CompositePodGroupTemplates
compositePodGroupTemplates is the list of templates for children
CompositePodGroups. The maximum number of templates is 8. At least one entry in
CompositePodGroupTemplates or PodGroupTemplates must be set.
Declaration
[JsonPropertyName("compositePodGroupTemplates")]
public IList<V1alpha3CompositePodGroupTemplate> CompositePodGroupTemplates { get; set; }
Property Value
DisruptionMode
disruptionMode defines the mode in which a given CompositePodGroup can be
disrupted. One of Single, All. This field is immutable.
Declaration
[JsonPropertyName("disruptionMode")]
public V1alpha3CompositeDisruptionMode DisruptionMode { get; set; }
Property Value
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Name
name is a unique identifier for the CompositePodGroupTemplate within the
Workload. It must be a DNS label. This field is required.
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
PodGroupTemplates
podGroupTemplates is the list of templates for children PodGroups. The maximum
number of templates is 8. At least one entry in CompositePodGroupTemplates or
PodGroupTemplates must be set.
Declaration
[JsonPropertyName("podGroupTemplates")]
public IList<V1alpha3PodGroupTemplate> PodGroupTemplates { get; set; }
Property Value
PreemptionPolicy
preemptionPolicy is the Policy for preempting pods/podgroups with lower
priority. One of Never, PreemptLowerPriority. 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 composite pod groups created from this
template. 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 indicates the priority that should be considered when
scheduling a composite pod group created from this template. If no priority
class is specified, admission control can set this to the global default
priority class if it exists. Otherwise, composite pod groups created from this
template will have the priority set to 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 CompositePodGroupTemplate. This field is immutable.
Declaration
[JsonPropertyName("schedulingConstraints")]
public V1alpha3CompositePodGroupSchedulingConstraints SchedulingConstraints { get; set; }
Property Value
SchedulingPolicy
schedulingPolicy defines the scheduling policy for this template.
Declaration
[JsonPropertyName("schedulingPolicy")]
public V1alpha3CompositePodGroupSchedulingPolicy SchedulingPolicy { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1alpha3CompositePodGroupTemplate?)
Declaration
public virtual bool Equals(V1alpha3CompositePodGroupTemplate? 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 ==(V1alpha3CompositePodGroupTemplate?, V1alpha3CompositePodGroupTemplate?)
Declaration
public static bool operator ==(V1alpha3CompositePodGroupTemplate? left, V1alpha3CompositePodGroupTemplate? right)
Parameters
Returns
operator !=(V1alpha3CompositePodGroupTemplate?, V1alpha3CompositePodGroupTemplate?)
Declaration
public static bool operator !=(V1alpha3CompositePodGroupTemplate? left, V1alpha3CompositePodGroupTemplate? right)
Parameters
Returns
Implements