Class CompositePodGroupStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.scheduling.v1alpha3.CompositePodGroupStatus
-
- All Implemented Interfaces:
Editable<CompositePodGroupStatusBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class CompositePodGroupStatus extends Object implements Editable<CompositePodGroupStatusBuilder>, KubernetesResource
CompositePodGroupStatus represents information about the status of a composite pod group.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CompositePodGroupStatus()No args constructor for use in serializationCompositePodGroupStatus(List<Condition> conditions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompositePodGroupStatusBuilderedit()Map<String,Object>getAdditionalProperties()List<Condition>getConditions()conditions represent the latest observations of the CompositePodGroup's state.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConditions(List<Condition> conditions)conditions represent the latest observations of the CompositePodGroup's state.CompositePodGroupStatusBuildertoBuilder()
-
-
-
Method Detail
-
getConditions
public List<Condition> getConditions()
conditions represent the latest observations of the CompositePodGroup's state.Known condition types: - "CompositePodGroupInitiallyScheduled": Indicates whether the overall scheduling requirement
for the subtree under this CompositePodGroup has been satisfied. Once this condition
transitions to True, it serves as a terminal state and will never revert to False,
even if pods are subsequently deleted and group constraints are no longer met.
- "DisruptionTarget": Indicates whether the CompositePodGroup is about to be terminated
due to disruption such as preemption.
Known reasons for the CompositePodGroupInitiallyScheduled condition: - "Unschedulable": The CompositePodGroup's subtree could not be placed due to resource constraints,
affinity/anti-affinity, or topological constraints.
- "SchedulerError": The CompositePodGroup cannot be scheduled due to some internal error
that occurred during scheduling.
- "Invalid": Set to True when kube-scheduler detects an invalid group layout during
runtime validation. The `message` field details the specific layout violation (such as
a detected cycle, exceeding the maximum depth of 4, or referencing multiple distinct Workloads).
Known reasons for the DisruptionTarget condition: - "PreemptionByScheduler": The CompositePodGroup was targeted by the scheduler's preemption loop
to free up capacity for higher-priority preemptors.
-
setConditions
public void setConditions(List<Condition> conditions)
conditions represent the latest observations of the CompositePodGroup's state.Known condition types: - "CompositePodGroupInitiallyScheduled": Indicates whether the overall scheduling requirement
for the subtree under this CompositePodGroup has been satisfied. Once this condition
transitions to True, it serves as a terminal state and will never revert to False,
even if pods are subsequently deleted and group constraints are no longer met.
- "DisruptionTarget": Indicates whether the CompositePodGroup is about to be terminated
due to disruption such as preemption.
Known reasons for the CompositePodGroupInitiallyScheduled condition: - "Unschedulable": The CompositePodGroup's subtree could not be placed due to resource constraints,
affinity/anti-affinity, or topological constraints.
- "SchedulerError": The CompositePodGroup cannot be scheduled due to some internal error
that occurred during scheduling.
- "Invalid": Set to True when kube-scheduler detects an invalid group layout during
runtime validation. The `message` field details the specific layout violation (such as
a detected cycle, exceeding the maximum depth of 4, or referencing multiple distinct Workloads).
Known reasons for the DisruptionTarget condition: - "PreemptionByScheduler": The CompositePodGroup was targeted by the scheduler's preemption loop
to free up capacity for higher-priority preemptors.
-
edit
public CompositePodGroupStatusBuilder edit()
- Specified by:
editin interfaceEditable<CompositePodGroupStatusBuilder>
-
toBuilder
public CompositePodGroupStatusBuilder toBuilder()
-
-